Fixed a failing cucumber scenario, bumped cucumber-rails.

This commit is contained in:
Mario Visic 2011-10-18 23:55:21 +08:00
parent dc7b83d6b7
commit fcac15c6b1
3 changed files with 14 additions and 14 deletions

View File

@ -60,7 +60,7 @@ group :test, :development do
gem 'bushido_stub', '0.0.3'
gem 'cucumber-rails', '1.0.2'
gem 'cucumber-rails'
end
group :test do

View File

@ -70,16 +70,16 @@ GEM
columnize (0.3.4)
configuration (1.3.1)
crack (0.1.8)
cucumber (1.0.6)
cucumber (1.1.0)
builder (>= 2.1.2)
diff-lcs (>= 1.1.2)
gherkin (~> 2.4.18)
gherkin (~> 2.5.0)
json (>= 1.4.6)
term-ansicolor (>= 1.0.6)
cucumber-rails (1.0.2)
capybara (>= 1.0.0)
cucumber (~> 1.0.0)
nokogiri (>= 1.4.6)
cucumber-rails (1.1.1)
capybara (>= 1.1.1)
cucumber (>= 1.1.0)
nokogiri (>= 1.5.0)
custom_fields (1.0.0.beta.25)
activesupport (~> 3.0.9)
mongoid (= 2.0.2)
@ -125,7 +125,7 @@ GEM
actionpack (>= 2.3.7)
activesupport (>= 2.3.7)
i18n (~> 0.4)
gherkin (2.4.21)
gherkin (2.5.2)
json (>= 1.4.6)
growl-glue (1.0.7)
haml (3.1.2)
@ -133,7 +133,7 @@ GEM
heroku (1.19.1)
activesupport (>= 2.1.0)
launchy (~> 0.3.2)
rest-client (< 1.7.0, >= 1.4.0)
rest-client (>= 1.4.0, < 1.7.0)
highline (1.6.2)
httparty (0.7.8)
crack (= 0.1.8)
@ -250,15 +250,15 @@ GEM
s3 (0.3.8)
proxies (~> 0.2.0)
sanitize (2.0.3)
nokogiri (< 1.6, >= 1.4.4)
nokogiri (>= 1.4.4, < 1.6)
sass (3.1.2)
selenium-webdriver (2.7.0)
selenium-webdriver (2.8.0)
childprocess (>= 0.2.1)
ffi (>= 1.0.7)
json_pure
rubyzip
spork (0.9.0.rc9)
term-ansicolor (1.0.6)
term-ansicolor (1.0.7)
thor (0.14.6)
treetop (1.4.10)
polyglot
@ -292,7 +292,7 @@ DEPENDENCIES
capybara
carrierwave (= 0.5.6)
cells
cucumber-rails (= 1.0.2)
cucumber-rails
custom_fields (= 1.0.0.beta.25)
database_cleaner
delayed_job (= 2.1.4)

View File

@ -64,6 +64,6 @@ Then %r{^I should not see (\d+) times the "([^"]*)" field$} do |n, field|
end
Then %r{^I should see once the "([^"]*)" field$} do |field|
page.all(:css, "#content_#{field.underscore.downcase}_input").size.should == 1
page.should have_css("#content_#{field.underscore.downcase}_input", :count => 1)
end