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/triggers_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/features/triggers_spec.rb') diff --git a/spec/features/triggers_spec.rb b/spec/features/triggers_spec.rb index 9a1bc77..b8f4616 100644 --- a/spec/features/triggers_spec.rb +++ b/spec/features/triggers_spec.rb @@ -11,7 +11,7 @@ describe 'Variables', feature: true do context 'create a trigger' do before do click_on 'Add Trigger' - @project.triggers.count.should eq 1 + expect(@project.triggers.count).to eq 1 end it 'contains trigger token' do @@ -20,7 +20,7 @@ describe 'Variables', feature: true do it 'revokes the trigger' do click_on 'Revoke' - @project.triggers.count.should eq 0 + expect(@project.triggers.count).to eq 0 end end end -- cgit v1.2.1