Commit 777ac900 by Prem Sichanugrist

Update Cucumber dependency

This is necessary so Gemnesium will be green.
parent 2cf73787
...@@ -49,10 +49,10 @@ GEM ...@@ -49,10 +49,10 @@ GEM
childprocess (0.2.2) childprocess (0.2.2)
ffi (~> 1.0.6) ffi (~> 1.0.6)
cocaine (0.2.0) cocaine (0.2.0)
cucumber (1.0.6) cucumber (1.1.4)
builder (>= 2.1.2) builder (>= 2.1.2)
diff-lcs (>= 1.1.2) diff-lcs (>= 1.1.2)
gherkin (~> 2.4.18) gherkin (~> 2.7.1)
json (>= 1.4.6) json (>= 1.4.6)
term-ansicolor (>= 1.0.6) term-ansicolor (>= 1.0.6)
diff-lcs (1.1.3) diff-lcs (1.1.3)
...@@ -70,13 +70,13 @@ GEM ...@@ -70,13 +70,13 @@ GEM
nokogiri (~> 1.5.0) nokogiri (~> 1.5.0)
ruby-hmac ruby-hmac
formatador (0.2.1) formatador (0.2.1)
gherkin (2.4.21) gherkin (2.7.1)
json (>= 1.4.6) json (>= 1.4.6)
httparty (0.8.1) httparty (0.8.1)
multi_json multi_json
multi_xml multi_xml
i18n (0.6.0) i18n (0.6.0)
json (1.6.1) json (1.6.3)
json_pure (1.6.1) json_pure (1.6.1)
metaclass (0.0.1) metaclass (0.0.1)
mime-types (1.16) mime-types (1.16)
...@@ -110,7 +110,7 @@ GEM ...@@ -110,7 +110,7 @@ GEM
rubyzip rubyzip
shoulda (2.11.3) shoulda (2.11.3)
sqlite3 (1.3.4) sqlite3 (1.3.4)
term-ansicolor (1.0.6) term-ansicolor (1.0.7)
tzinfo (0.3.31) tzinfo (0.3.31)
uuidtools (2.1.2) uuidtools (2.1.2)
xpath (0.1.4) xpath (0.1.4)
...@@ -126,7 +126,7 @@ DEPENDENCIES ...@@ -126,7 +126,7 @@ DEPENDENCIES
bundler bundler
capybara capybara
cocaine (~> 0.2) cocaine (~> 0.2)
cucumber (~> 1.0.0) cucumber (~> 1.1.0)
fakeweb fakeweb
fog fog
jruby-openssl jruby-openssl
......
...@@ -19,15 +19,15 @@ Given /^I generate a new rails application$/ do ...@@ -19,15 +19,15 @@ Given /^I generate a new rails application$/ do
end end
Given /^I run a rails generator to generate a "([^"]*)" scaffold with "([^"]*)"$/ do |model_name, attributes| Given /^I run a rails generator to generate a "([^"]*)" scaffold with "([^"]*)"$/ do |model_name, attributes|
Given %[I successfully run `bundle exec #{generator_command} scaffold #{model_name} #{attributes}`] step %[I successfully run `bundle exec #{generator_command} scaffold #{model_name} #{attributes}`]
end end
Given /^I run a paperclip generator to add a paperclip "([^"]*)" to the "([^"]*)" model$/ do |attachment_name, model_name| Given /^I run a paperclip generator to add a paperclip "([^"]*)" to the "([^"]*)" model$/ do |attachment_name, model_name|
Given %[I successfully run `bundle exec #{generator_command} paperclip #{model_name} #{attachment_name}`] step %[I successfully run `bundle exec #{generator_command} paperclip #{model_name} #{attachment_name}`]
end end
Given /^I run a migration$/ do Given /^I run a migration$/ do
Given %[I successfully run `bundle exec rake db:migrate`] step %[I successfully run `bundle exec rake db:migrate`]
end end
Given /^I update my new user view to include the file upload field$/ do Given /^I update my new user view to include the file upload field$/ do
......
...@@ -6,7 +6,7 @@ When /^I attach the file "([^"]*)" to "([^"]*)" on S3$/ do |file_path, field| ...@@ -6,7 +6,7 @@ When /^I attach the file "([^"]*)" to "([^"]*)" on S3$/ do |file_path, field|
"([^\/\.]+)" "([^\/\.]+)"
end end
FakeWeb.register_uri(:put, Regexp.new(path), :body => "OK") FakeWeb.register_uri(:put, Regexp.new(path), :body => "OK")
When "I attach the file \"#{file_path}\" to \"#{field}\"" step "I attach the file \"#{file_path}\" to \"#{field}\""
end end
Then /^the file at "([^"]*)" should be uploaded to S3$/ do |url| Then /^the file at "([^"]*)" should be uploaded to S3$/ do |url|
......
...@@ -30,7 +30,7 @@ Gem::Specification.new do |s| ...@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
s.add_development_dependency('mocha') s.add_development_dependency('mocha')
s.add_development_dependency('aws-sdk') s.add_development_dependency('aws-sdk')
s.add_development_dependency('sqlite3', '~> 1.3.4') s.add_development_dependency('sqlite3', '~> 1.3.4')
s.add_development_dependency('cucumber', '~> 1.0.0') s.add_development_dependency('cucumber', '~> 1.1.0')
s.add_development_dependency('aruba') s.add_development_dependency('aruba')
s.add_development_dependency('capybara') s.add_development_dependency('capybara')
s.add_development_dependency('bundler') s.add_development_dependency('bundler')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment