pickle 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/README.rdoc +1 -3
- data/Rakefile +15 -22
- data/VERSION +1 -1
- data/pickle.gemspec +1 -1
- metadata +2 -2
data/History.txt
CHANGED
data/README.rdoc
CHANGED
@@ -49,11 +49,9 @@ To run the specs do:
|
|
49
49
|
|
50
50
|
rake spec
|
51
51
|
|
52
|
-
To run the features
|
52
|
+
To run the features (rails 2.3 only ATM):
|
53
53
|
|
54
54
|
rake cucumber
|
55
|
-
|
56
|
-
The first time you do this, instructions will appear about how to set up a test rails app.
|
57
55
|
|
58
56
|
== Contributors
|
59
57
|
|
data/Rakefile
CHANGED
@@ -42,31 +42,24 @@ end
|
|
42
42
|
|
43
43
|
desc "setup a rails app for running cucumber"
|
44
44
|
file "cucumber_test_app" do
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
Until this is automated, do something like:
|
50
|
-
|
51
|
-
(make sure cucumber, cucumber-rails, rspec, rspec-rails, machinist, and factory_girl are all installed as gems)
|
52
|
-
|
53
|
-
rails cucumber_test_app
|
54
|
-
cd cucumber_test_app
|
55
|
-
script/generate rspec
|
56
|
-
script/generate cucumber
|
57
|
-
cd vendor/plugins
|
58
|
-
ln -s ../../.. pickle
|
59
|
-
cd ../../..
|
60
|
-
|
61
|
-
Then run
|
62
|
-
|
63
|
-
rake cucumber
|
64
|
-
|
65
|
-
** thanks! **
|
45
|
+
puts "** setting up cucumber test app ** (rails 2.3 only at present)"
|
46
|
+
Rake::Task['cucumber:setup'].invoke
|
47
|
+
end
|
66
48
|
|
67
|
-
|
49
|
+
namespace :cucumber do
|
50
|
+
task :setup do
|
51
|
+
rm_rf "cucumber_test_app"
|
52
|
+
sh "rails cucumber_test_app"
|
53
|
+
cd "cucumber_test_app" do
|
54
|
+
sh "script/generate rspec"
|
55
|
+
sh "script/generate cucumber"
|
56
|
+
end
|
57
|
+
sh "ln -s #{File.expand_path('.')} cucumber_test_app/vendor/plugins/pickle"
|
58
|
+
end
|
68
59
|
end
|
69
60
|
|
61
|
+
task :ci => ['rcov:verify', 'cucumber']
|
62
|
+
|
70
63
|
begin
|
71
64
|
require 'jeweler'
|
72
65
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.7
|
data/pickle.gemspec
CHANGED