Skip to content

Commit

Permalink
Fixes spec that broke with previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
rymai committed Jan 26, 2012
1 parent b2d96d5 commit eacb2d4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions spec/guard/cli_spec.rb
Expand Up @@ -22,7 +22,7 @@
after { ENV['BUNDLE_GEMFILE'] = @bundler_env }

it 'does not show the Bundler warning' do
ui.should_not_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and could not work. Using `bundle exec guard` is safer.")
ui.should_not_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and may not work. Using `bundle exec guard` is safer.")
subject.start
end
end
Expand All @@ -36,7 +36,7 @@
after { ENV['BUNDLE_GEMFILE'] = @bundler_env }

it 'does not show the Bundler warning' do
ui.should_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and could not work. Using `bundle exec guard` is safer.")
ui.should_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and may not work. Using `bundle exec guard` is safer.")
subject.start
end
end
Expand Down Expand Up @@ -82,7 +82,7 @@
after { ENV['BUNDLE_GEMFILE'] = @bundler_env }

it 'does not show the Bundler warning' do
ui.should_not_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and could not work. Using `bundle exec guard` is safer.")
ui.should_not_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and may not work. Using `bundle exec guard` is safer.")
subject.list
end
end
Expand All @@ -96,7 +96,7 @@
after { ENV['BUNDLE_GEMFILE'] = @bundler_env }

it 'does not show the Bundler warning' do
ui.should_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and could not work. Using `bundle exec guard` is safer.")
ui.should_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and may not work. Using `bundle exec guard` is safer.")
subject.list
end
end
Expand All @@ -117,7 +117,7 @@
after { ENV['BUNDLE_GEMFILE'] = @bundler_env }

it 'does not show the Bundler warning' do
ui.should_not_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and could not work. Using `bundle exec guard` is safer.")
ui.should_not_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and may not work. Using `bundle exec guard` is safer.")
subject.version
end
end
Expand All @@ -131,7 +131,7 @@
after { ENV['BUNDLE_GEMFILE'] = @bundler_env }

it 'does not show the Bundler warning' do
ui.should_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and could not work. Using `bundle exec guard` is safer.")
ui.should_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and may not work. Using `bundle exec guard` is safer.")
subject.version
end
end
Expand All @@ -154,7 +154,7 @@
after { ENV['BUNDLE_GEMFILE'] = @bundler_env }

it 'does not show the Bundler warning' do
ui.should_not_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and could not work. Using `bundle exec guard` is safer.")
ui.should_not_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and may not work. Using `bundle exec guard` is safer.")
subject.init
end
end
Expand All @@ -168,7 +168,7 @@
after { ENV['BUNDLE_GEMFILE'] = @bundler_env }

it 'does not show the Bundler warning' do
ui.should_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and could not work. Using `bundle exec guard` is safer.")
ui.should_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and may not work. Using `bundle exec guard` is safer.")
subject.init
end
end
Expand All @@ -191,7 +191,7 @@
after { ENV['BUNDLE_GEMFILE'] = @bundler_env }

it 'does not show the Bundler warning' do
ui.should_not_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and could not work. Using `bundle exec guard` is safer.")
ui.should_not_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and may not work. Using `bundle exec guard` is safer.")
subject.show
end
end
Expand All @@ -205,7 +205,7 @@
after { ENV['BUNDLE_GEMFILE'] = @bundler_env }

it 'does not show the Bundler warning' do
ui.should_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and could not work. Using `bundle exec guard` is safer.")
ui.should_receive(:warning).with("You are using Guard outside of Bundler, this is dangerous and may not work. Using `bundle exec guard` is safer.")
subject.show
end
end
Expand Down

0 comments on commit eacb2d4

Please sign in to comment.