cucumber-rails-training-wheels 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +156 -0
- data/README.md +29 -0
- data/Rakefile +10 -0
- data/cucumber-rails-training-wheels.gemspec +25 -0
- data/features/step_defintions/rails_steps.rb +21 -0
- data/features/support/env.rb +8 -0
- data/features/use_training_wheels.feature +17 -0
- data/lib/generators/cucumber_rails_training_wheels/feature/USAGE +16 -0
- data/lib/generators/cucumber_rails_training_wheels/feature/feature_generator.rb +27 -0
- data/lib/generators/cucumber_rails_training_wheels/feature/named_arg.rb +20 -0
- data/lib/generators/cucumber_rails_training_wheels/feature/templates/feature.erb +63 -0
- data/lib/generators/cucumber_rails_training_wheels/feature/templates/steps.erb +14 -0
- data/lib/generators/cucumber_rails_training_wheels/install/USAGE +15 -0
- data/lib/generators/cucumber_rails_training_wheels/install/install_generator.rb +33 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps.rb.erb +235 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_cs.rb.erb +127 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_da.rb.erb +105 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_de.rb.erb +127 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_es.rb.erb +127 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_ja.rb.erb +140 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_ko.rb.erb +142 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_no.rb.erb +105 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_pt-BR.rb.erb +132 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/support/paths.rb +38 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/support/selectors.rb +44 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/support/web_steps_warning.txt +19 -0
- data/lib/generators/cucumber_rails_training_wheels/install/templates/tasks/cucumber.rake.erb +60 -0
- metadata +148 -0
@@ -0,0 +1,105 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
<%= embed_file('support/web_steps_warning.txt') %>
|
3
|
+
|
4
|
+
require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "paths"))
|
5
|
+
require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "selectors"))
|
6
|
+
|
7
|
+
# Single-line step scoper
|
8
|
+
Når /^(.*) under ([^:]+)$/ do |step, parent|
|
9
|
+
with_scope(parent) { Når step }
|
10
|
+
end
|
11
|
+
|
12
|
+
# Multi-line step scoper
|
13
|
+
Når /^(.*) under ([^:]+):$/ do |step, parent, table_or_string|
|
14
|
+
with_scope(parent) { Når "#{step}:", table_or_string }
|
15
|
+
end
|
16
|
+
|
17
|
+
Gitt /^(?:|at )jeg står på (.*)$/ do |page_name|
|
18
|
+
Given %{I am on #{page_name}}
|
19
|
+
end
|
20
|
+
|
21
|
+
Når /^jeg går til (.*)$/ do |page_name|
|
22
|
+
When %{I go to #{page_name}}
|
23
|
+
end
|
24
|
+
|
25
|
+
Når /^jeg trykker "([^"]*)"$/ do |button|
|
26
|
+
When %{I press "#{button}"}
|
27
|
+
end
|
28
|
+
|
29
|
+
Når /^jeg klikker "([^"]*)"$/ do |link|
|
30
|
+
When %{I follow "#{link}"}
|
31
|
+
end
|
32
|
+
|
33
|
+
Når /^jeg fyller inn "([^"]*)" med "([^"]*)"$/ do |field, value|
|
34
|
+
When %{I fill in "#{field}" with "#{value}"}
|
35
|
+
end
|
36
|
+
|
37
|
+
Når /^jeg fyller inn "([^"]*)" for "([^"]*)"$/ do |value, field|
|
38
|
+
When %{I fill in "#{value}" for "#{field}"}
|
39
|
+
end
|
40
|
+
|
41
|
+
Når /^jeg fyller inn følgende:$/ do |fields|
|
42
|
+
When %{I fill in the following:}, fields
|
43
|
+
end
|
44
|
+
|
45
|
+
Når /^jeg velger "([^"]*)" fra "([^"]*)"$/ do |value, field|
|
46
|
+
When %{I select "#{value}" from "#{field}"}
|
47
|
+
end
|
48
|
+
|
49
|
+
# Missing: date stuff
|
50
|
+
|
51
|
+
Når /^jeg krysser av "([^"]*)"$/ do |field|
|
52
|
+
When %{I check "#{field}"}
|
53
|
+
end
|
54
|
+
|
55
|
+
Når /^jeg fjerner avkrysning for "([^"]*)"$/ do |field|
|
56
|
+
When %{I uncheck "#{field}"}
|
57
|
+
end
|
58
|
+
|
59
|
+
Når /^jeg velger "([^"]*)"$/ do |field|
|
60
|
+
When %{I choose "#{field}"}
|
61
|
+
end
|
62
|
+
|
63
|
+
Når /^jeg legger ved filen "([^"]*)" til "([^"]*)"$/ do |path, field|
|
64
|
+
When %{I attach the file "#{path}" to "#{field}"}
|
65
|
+
end
|
66
|
+
|
67
|
+
Så /^(?:skal jeg|jeg skal) se "([^"]*)"$/ do |text|
|
68
|
+
Then %{I should see "#{text}"}
|
69
|
+
end
|
70
|
+
|
71
|
+
Så /^(?:skal jeg|jeg skal) se \/([^\/]*)\/$/ do |regexp|
|
72
|
+
Then %{I should see /#{regexp}/}
|
73
|
+
end
|
74
|
+
|
75
|
+
Så /^(?:skal jeg|jeg skal) ikke se "([^"]*)"$/ do |text|
|
76
|
+
Then %{I should not see "#{text}"}
|
77
|
+
end
|
78
|
+
|
79
|
+
Så /^(?:skal jeg|jeg skal) ikke se \/([^\/]*)\/$/ do |regexp|
|
80
|
+
Then %{I should not see /#{regexp}/}
|
81
|
+
end
|
82
|
+
|
83
|
+
Så /^(?:skal )"([^"]*)" feltet (?:skal )inneholde "([^"]*)"$/ do |field, value|
|
84
|
+
Then %{the "#{field}" field should contain "#{value}"}
|
85
|
+
end
|
86
|
+
|
87
|
+
Så /^(?:skal ) "([^"]*)" feltet (?:skal )ikke inneholde "([^"]*)"$/ do |field, value|
|
88
|
+
Then %{the "#{field}" field should not contain "#{value}"}
|
89
|
+
end
|
90
|
+
|
91
|
+
Så /^(?:skal ) "([^"]*)" avkrysningsboksen (?:skal )være krysset av$/ do |label|
|
92
|
+
Then %{the "#{label}" checkbox should be checked}
|
93
|
+
end
|
94
|
+
|
95
|
+
Så /^(?:skal ) "([^"]*)" avkrysningsboksen (?:skal )ikke være krysset av$/ do |label|
|
96
|
+
Then %{the "#{label}" checkbox should not be checked}
|
97
|
+
end
|
98
|
+
|
99
|
+
Så /^(?:skal jeg|jeg skal) komme til (.+)$/ do |page_name|
|
100
|
+
Then %{I should be on #{page_name}}
|
101
|
+
end
|
102
|
+
|
103
|
+
Så /^vil jeg se siden$/ do |page_name|
|
104
|
+
Then %{show me the page}
|
105
|
+
end
|
@@ -0,0 +1,132 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
<%= embed_file('support/web_steps_warning.txt') %>
|
3
|
+
|
4
|
+
require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "paths"))
|
5
|
+
require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "selectors"))
|
6
|
+
|
7
|
+
# Single-line step scoper
|
8
|
+
Quando /^(.*) dentro de ([^:]+)$/ do |step, parent|
|
9
|
+
with_scope(parent) { Quando step }
|
10
|
+
end
|
11
|
+
|
12
|
+
# Multi-line step scoper
|
13
|
+
Quando /^(.*) dentro de ([^:]+):$/ do |step, parent, table_or_string|
|
14
|
+
with_scope(parent) { Quando "#{step}:", table_or_string }
|
15
|
+
end
|
16
|
+
|
17
|
+
Dado /^que eu estou na (.+)$/ do |page_name|
|
18
|
+
Given %{I am on #{page_name}}
|
19
|
+
end
|
20
|
+
|
21
|
+
Quando /^eu vou para (.+)$/ do |page_name|
|
22
|
+
When %{I go to #{page_name}}
|
23
|
+
end
|
24
|
+
|
25
|
+
Quando /^eu aperto "([^"]*)"$/ do |button|
|
26
|
+
When %{I press "#{button}"}
|
27
|
+
end
|
28
|
+
|
29
|
+
Quando /^eu clico "([^"]*)"$/ do |link|
|
30
|
+
When %{I follow "#{link}"}
|
31
|
+
end
|
32
|
+
|
33
|
+
Quando /^eu preencho "([^"]*)" com "([^"]*)"$/ do |field, value|
|
34
|
+
When %{I fill in "#{field}" with "#{value}"}
|
35
|
+
end
|
36
|
+
|
37
|
+
Quando /^eu preencho "([^"]*)" para "([^"]*)"$/ do |value, field|
|
38
|
+
When %{I fill in "#{value}" for "#{field}"}
|
39
|
+
end
|
40
|
+
|
41
|
+
Quando /^eu preencho o seguinte:$/ do |fields|
|
42
|
+
When %{I fill in the following:}, fields
|
43
|
+
end
|
44
|
+
|
45
|
+
Quando /^eu seleciono "([^"]*)" de "([^"]*)"$/ do |value, field|
|
46
|
+
When %{I select "#{value}" from "#{field}"}
|
47
|
+
end
|
48
|
+
|
49
|
+
Quando /^eu seleciono "([^"]*)" como a data e a hora$/ do |time|
|
50
|
+
When %{I select "#{time}" as the date and time}
|
51
|
+
end
|
52
|
+
|
53
|
+
Quando /^eu seleciono "([^"]*)" como a data e a hora "([^"]*)"$/ do |datetime, datetime_label|
|
54
|
+
When %{I select "#{datetime}" as the "#{datetime_label}" date and time}
|
55
|
+
end
|
56
|
+
|
57
|
+
Quando /^eu seleciono "([^"]*)" como a hora$/ do |time|
|
58
|
+
When %{I select "#{time}" as the time}
|
59
|
+
end
|
60
|
+
|
61
|
+
Quando /^eu seleciono "([^"]*)" como a hora "([^"]*)"$/ do |time, time_label|
|
62
|
+
When %{I select "#{time}" as the "#{time_label}" time}
|
63
|
+
end
|
64
|
+
|
65
|
+
Quando /^eu seleciono "([^"]*)" como a data$/ do |date|
|
66
|
+
When %{I select "#{date}" as the date}
|
67
|
+
end
|
68
|
+
|
69
|
+
Quando /^eu seleciono "([^"]*)" como a data "([^"]*)"$/ do |date, date_label|
|
70
|
+
When %{I select "#{date}" as the "#{date_label}" date}
|
71
|
+
end
|
72
|
+
|
73
|
+
Quando /^eu seleciono "([^"]*)" como "([^"]*)"$/ do |date, date_label|
|
74
|
+
When %{I select "#{date}" as the "#{date_label}" date}
|
75
|
+
end
|
76
|
+
|
77
|
+
Quando /^eu marco "([^"]*)"$/ do |field|
|
78
|
+
When %{I check "#{field}"}
|
79
|
+
end
|
80
|
+
|
81
|
+
Quando /^eu desmarco "([^"]*)"$/ do |field|
|
82
|
+
When %{I uncheck "#{field}"}
|
83
|
+
end
|
84
|
+
|
85
|
+
Quando /^eu escolho "([^"]*)"$/ do |field|
|
86
|
+
When %{I choose "#{field}"}
|
87
|
+
end
|
88
|
+
|
89
|
+
Quando /^eu anexo o arquivo em "([^"]*)" a "([^"]*)"$/ do |path, field|
|
90
|
+
When %{I attach the file "#{path}" to "#{field}"}
|
91
|
+
end
|
92
|
+
|
93
|
+
Então /^eu devo ver "([^"]*)"$/ do |text|
|
94
|
+
Then %{I should see "#{text}"}
|
95
|
+
end
|
96
|
+
|
97
|
+
Então /^eu devo ver \/([^\/]*)\/$/ do |regexp|
|
98
|
+
Then %{I should see /#{regexp}/}
|
99
|
+
end
|
100
|
+
|
101
|
+
Então /^eu não devo ver "([^"]*)"$/ do |text|
|
102
|
+
Then %{I should not see "#{text}"}
|
103
|
+
end
|
104
|
+
|
105
|
+
Então /^eu não devo ver \/([^\/]*)\/$/ do |regexp|
|
106
|
+
Then %{I should not see /#{regexp}/}
|
107
|
+
end
|
108
|
+
|
109
|
+
Então /^o campo "([^"]*)" deve conter "([^"]*)"$/ do |field, value|
|
110
|
+
Then %{the "#{field}" field should contain "#{value}"}
|
111
|
+
end
|
112
|
+
|
113
|
+
Então /^o campo "([^"]*)" não deve conter "([^"]*)"$/ do |field, value|
|
114
|
+
Then %{the "#{field}" field should not contain "#{value}"}
|
115
|
+
end
|
116
|
+
|
117
|
+
Então /^o checkbox "([^"]*)" deve estar marcado$/ do |label|
|
118
|
+
Then %{the "#{label}" checkbox should be checked}
|
119
|
+
end
|
120
|
+
|
121
|
+
Então /^o checkbox "([^"]*)" não deve estar marcado$/ do |label|
|
122
|
+
Then %{the "#{label}" checkbox should not be checked}
|
123
|
+
end
|
124
|
+
|
125
|
+
Então /^eu devo estar na (.+)$/ do |page_name|
|
126
|
+
Then %{I should be on #{page_name}}
|
127
|
+
end
|
128
|
+
|
129
|
+
Então /^mostre-me a página$/ do
|
130
|
+
Then %{show me the page}
|
131
|
+
end
|
132
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# TL;DR: YOU SHOULD DELETE THIS FILE
|
2
|
+
#
|
3
|
+
# This file is used by web_steps.rb, which you should also delete
|
4
|
+
#
|
5
|
+
# You have been warned
|
6
|
+
module NavigationHelpers
|
7
|
+
# Maps a name to a path. Used by the
|
8
|
+
#
|
9
|
+
# When /^I go to (.+)$/ do |page_name|
|
10
|
+
#
|
11
|
+
# step definition in web_steps.rb
|
12
|
+
#
|
13
|
+
def path_to(page_name)
|
14
|
+
case page_name
|
15
|
+
|
16
|
+
when /^the home\s?page$/
|
17
|
+
'/'
|
18
|
+
|
19
|
+
# Add more mappings here.
|
20
|
+
# Here is an example that pulls values out of the Regexp:
|
21
|
+
#
|
22
|
+
# when /^(.*)'s profile page$/i
|
23
|
+
# user_profile_path(User.find_by_login($1))
|
24
|
+
|
25
|
+
else
|
26
|
+
begin
|
27
|
+
page_name =~ /^the (.*) page$/
|
28
|
+
path_components = $1.split(/\s+/)
|
29
|
+
self.send(path_components.push('path').join('_').to_sym)
|
30
|
+
rescue NoMethodError, ArgumentError
|
31
|
+
raise "Can't find mapping from \"#{page_name}\" to a path.\n" +
|
32
|
+
"Now, go and add a mapping in #{__FILE__}"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
World(NavigationHelpers)
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# TL;DR: YOU SHOULD DELETE THIS FILE
|
2
|
+
#
|
3
|
+
# This file is used by web_steps.rb, which you should also delete
|
4
|
+
#
|
5
|
+
# You have been warned
|
6
|
+
module HtmlSelectorsHelpers
|
7
|
+
# Maps a name to a selector. Used primarily by the
|
8
|
+
#
|
9
|
+
# When /^(.+) within (.+)$/ do |step, scope|
|
10
|
+
#
|
11
|
+
# step definitions in web_steps.rb
|
12
|
+
#
|
13
|
+
def selector_for(locator)
|
14
|
+
case locator
|
15
|
+
|
16
|
+
when "the page"
|
17
|
+
"html > body"
|
18
|
+
|
19
|
+
# Add more mappings here.
|
20
|
+
# Here is an example that pulls values out of the Regexp:
|
21
|
+
#
|
22
|
+
# when /^the (notice|error|info) flash$/
|
23
|
+
# ".flash.#{$1}"
|
24
|
+
|
25
|
+
# You can also return an array to use a different selector
|
26
|
+
# type, like:
|
27
|
+
#
|
28
|
+
# when /the header/
|
29
|
+
# [:xpath, "//header"]
|
30
|
+
|
31
|
+
# This allows you to provide a quoted selector as the scope
|
32
|
+
# for "within" steps as was previously the default for the
|
33
|
+
# web steps:
|
34
|
+
when /^"(.+)"$/
|
35
|
+
$1
|
36
|
+
|
37
|
+
else
|
38
|
+
raise "Can't find mapping from \"#{locator}\" to a selector.\n" +
|
39
|
+
"Now, go and add a mapping in #{__FILE__}"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
World(HtmlSelectorsHelpers)
|
data/lib/generators/cucumber_rails_training_wheels/install/templates/support/web_steps_warning.txt
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# TL;DR: YOU SHOULD DELETE THIS FILE
|
2
|
+
#
|
3
|
+
# This file was generated by Cucumber-Rails and is only here to get you a head start
|
4
|
+
# These step definitions are thin wrappers around the Capybara/Webrat API that lets you
|
5
|
+
# visit pages, interact with widgets and make assertions about page content.
|
6
|
+
#
|
7
|
+
# If you use these step definitions as basis for your features you will quickly end up
|
8
|
+
# with features that are:
|
9
|
+
#
|
10
|
+
# * Hard to maintain
|
11
|
+
# * Verbose to read
|
12
|
+
#
|
13
|
+
# A much better approach is to write your own higher level step definitions, following
|
14
|
+
# the advice in the following blog posts:
|
15
|
+
#
|
16
|
+
# * http://benmabey.com/2008/05/19/imperative-vs-declarative-scenarios-in-user-stories.html
|
17
|
+
# * http://dannorth.net/2011/01/31/whose-domain-is-it-anyway/
|
18
|
+
# * http://elabs.se/blog/15-you-re-cuking-it-wrong
|
19
|
+
#
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<%= embed_file('support/edit_warning.txt') %>
|
2
|
+
|
3
|
+
unless ARGV.any? {|a| a =~ /^gems/} # Don't load anything when running the gems:* tasks
|
4
|
+
|
5
|
+
vendored_cucumber_bin = Dir["#{<%= defined?(Rails.root) ? 'Rails.root' : 'RAILS_ROOT' %>}/vendor/{gems,plugins}/cucumber*/bin/cucumber"].first
|
6
|
+
$LOAD_PATH.unshift(File.dirname(vendored_cucumber_bin) + '/../lib') unless vendored_cucumber_bin.nil?
|
7
|
+
|
8
|
+
begin
|
9
|
+
require 'cucumber/rake/task'
|
10
|
+
|
11
|
+
namespace :cucumber do
|
12
|
+
Cucumber::Rake::Task.new({:ok => 'db:test:prepare'}, 'Run features that should pass') do |t|
|
13
|
+
t.binary = vendored_cucumber_bin # If nil, the gem's binary is used.
|
14
|
+
t.fork = true # You may get faster startup if you set this to false
|
15
|
+
t.profile = 'default'
|
16
|
+
end
|
17
|
+
|
18
|
+
Cucumber::Rake::Task.new({:wip => 'db:test:prepare'}, 'Run features that are being worked on') do |t|
|
19
|
+
t.binary = vendored_cucumber_bin
|
20
|
+
t.fork = true # You may get faster startup if you set this to false
|
21
|
+
t.profile = 'wip'
|
22
|
+
end
|
23
|
+
|
24
|
+
Cucumber::Rake::Task.new({:rerun => 'db:test:prepare'}, 'Record failing features and run only them if any exist') do |t|
|
25
|
+
t.binary = vendored_cucumber_bin
|
26
|
+
t.fork = true # You may get faster startup if you set this to false
|
27
|
+
t.profile = 'rerun'
|
28
|
+
end
|
29
|
+
|
30
|
+
desc 'Run all features'
|
31
|
+
task :all => [:ok, :wip]
|
32
|
+
|
33
|
+
task :statsetup do
|
34
|
+
require 'rails/code_statistics'
|
35
|
+
::STATS_DIRECTORIES << %w(Cucumber\ features features) if File.exist?('features')
|
36
|
+
::CodeStatistics::TEST_TYPES << "Cucumber features" if File.exist?('features')
|
37
|
+
end
|
38
|
+
end
|
39
|
+
desc 'Alias for cucumber:ok'
|
40
|
+
task :cucumber => 'cucumber:ok'
|
41
|
+
|
42
|
+
task :default => :cucumber
|
43
|
+
|
44
|
+
task :features => :cucumber do
|
45
|
+
STDERR.puts "*** The 'features' task is deprecated. See rake -T cucumber ***"
|
46
|
+
end
|
47
|
+
|
48
|
+
# In case we don't have ActiveRecord, append a no-op task that we can depend upon.
|
49
|
+
task 'db:test:prepare' do
|
50
|
+
end
|
51
|
+
|
52
|
+
task :stats => 'cucumber:statsetup'
|
53
|
+
rescue LoadError
|
54
|
+
desc 'cucumber rake task not available (cucumber not installed)'
|
55
|
+
task :cucumber do
|
56
|
+
abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
metadata
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cucumber-rails-training-wheels
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Aslak Hellesøy
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-10-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: cucumber-rails
|
16
|
+
requirement: &2152909680 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.1.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *2152909680
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rails
|
27
|
+
requirement: &2152908820 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.1.0
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2152908820
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: aruba
|
38
|
+
requirement: &2152923880 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.4.6
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *2152923880
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rspec
|
49
|
+
requirement: &2152920440 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.6.0
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *2152920440
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: rspec-rails
|
60
|
+
requirement: &2152916720 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 2.6.1
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *2152916720
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: database_cleaner
|
71
|
+
requirement: &2152992600 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 0.6.7
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *2152992600
|
80
|
+
description: Training Wheels for Cucumber-Rails
|
81
|
+
email: cukes@googlegroups.com
|
82
|
+
executables: []
|
83
|
+
extensions: []
|
84
|
+
extra_rdoc_files: []
|
85
|
+
files:
|
86
|
+
- .gitignore
|
87
|
+
- Gemfile
|
88
|
+
- Gemfile.lock
|
89
|
+
- README.md
|
90
|
+
- Rakefile
|
91
|
+
- cucumber-rails-training-wheels.gemspec
|
92
|
+
- features/step_defintions/rails_steps.rb
|
93
|
+
- features/support/env.rb
|
94
|
+
- features/use_training_wheels.feature
|
95
|
+
- lib/generators/cucumber_rails_training_wheels/feature/USAGE
|
96
|
+
- lib/generators/cucumber_rails_training_wheels/feature/feature_generator.rb
|
97
|
+
- lib/generators/cucumber_rails_training_wheels/feature/named_arg.rb
|
98
|
+
- lib/generators/cucumber_rails_training_wheels/feature/templates/feature.erb
|
99
|
+
- lib/generators/cucumber_rails_training_wheels/feature/templates/steps.erb
|
100
|
+
- lib/generators/cucumber_rails_training_wheels/install/USAGE
|
101
|
+
- lib/generators/cucumber_rails_training_wheels/install/install_generator.rb
|
102
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps.rb.erb
|
103
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_cs.rb.erb
|
104
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_da.rb.erb
|
105
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_de.rb.erb
|
106
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_es.rb.erb
|
107
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_ja.rb.erb
|
108
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_ko.rb.erb
|
109
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_no.rb.erb
|
110
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/step_definitions/web_steps_pt-BR.rb.erb
|
111
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/support/paths.rb
|
112
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/support/selectors.rb
|
113
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/support/web_steps_warning.txt
|
114
|
+
- lib/generators/cucumber_rails_training_wheels/install/templates/tasks/cucumber.rake.erb
|
115
|
+
homepage: http://cukes.info
|
116
|
+
licenses: []
|
117
|
+
post_install_message:
|
118
|
+
rdoc_options: []
|
119
|
+
require_paths:
|
120
|
+
- lib
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ! '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
segments:
|
128
|
+
- 0
|
129
|
+
hash: -1385381607414378099
|
130
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
132
|
+
requirements:
|
133
|
+
- - ! '>='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
segments:
|
137
|
+
- 0
|
138
|
+
hash: -1385381607414378099
|
139
|
+
requirements: []
|
140
|
+
rubyforge_project:
|
141
|
+
rubygems_version: 1.8.10
|
142
|
+
signing_key:
|
143
|
+
specification_version: 3
|
144
|
+
summary: cucumber-rails-training-wheels-1.0.0
|
145
|
+
test_files:
|
146
|
+
- features/step_defintions/rails_steps.rb
|
147
|
+
- features/support/env.rb
|
148
|
+
- features/use_training_wheels.feature
|