Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Commit

Permalink
Replace remaining instances of to_not with not_to
Browse files Browse the repository at this point in the history
  • Loading branch information
ruralocity committed Dec 14, 2014
1 parent 9394b4c commit 12e7f8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/features/news_releases_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
visit root_path
click_link "News"

expect(page).to_not have_content "BigCo switches to Rails"
expect(page).not_to have_content "BigCo switches to Rails"
click_link "Add News Release"

fill_in "Date", with: "2013-07-29"
Expand All @@ -29,8 +29,8 @@
visit root_path
click_link "News"

expect(page).to_not have_content "Today, BigCo's CFO announced record growth."
expect(page).to_not have_content 'Add News Release'
expect(page).not_to have_content "Today, BigCo's CFO announced record growth."
expect(page).not_to have_content 'Add News Release'

click_link "2013-08-01: Record profits for BigCo!"

Expand Down

0 comments on commit 12e7f8a

Please sign in to comment.