From 77053a6c217e06770a348ac989992afbd41697f6 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Sun, 30 Aug 2015 19:10:53 -0400 Subject: Convert to RSpec3 syntax via transpec Command: transpec -c 'bundle exec rspec spec -t ~feature' \ -o should,oneliner,should_receive --- spec/features/variables_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/features/variables_spec.rb') diff --git a/spec/features/variables_spec.rb b/spec/features/variables_spec.rb index f0b0cd8..9cf3632 100644 --- a/spec/features/variables_spec.rb +++ b/spec/features/variables_spec.rb @@ -19,7 +19,7 @@ describe "Variables", feature: true do click_on "Save changes" expect(page).to have_content("Variables were successfully updated.") - @project.variables.count.should eq 1 + expect(@project.variables.count).to eq 1 end end -- cgit v1.2.1