From 12e7f8a514161f62f499b33f05f5f2dc211ea2ea Mon Sep 17 00:00:00 2001 From: Aaron Sumner Date: Sat, 13 Dec 2014 19:20:24 -0600 Subject: [PATCH] Replace remaining instances of to_not with not_to --- spec/features/news_releases_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/features/news_releases_spec.rb b/spec/features/news_releases_spec.rb index 74f00efc..da964fa0 100644 --- a/spec/features/news_releases_spec.rb +++ b/spec/features/news_releases_spec.rb @@ -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" @@ -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!"