steak 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -32,7 +32,7 @@ Steak is like Cucumber but in plain Ruby. This is how an acceptance spec looks l
32
32
 
33
33
  No explicit givens, whens or thens. No steps, no english, just Ruby: RSpec, Steak and, in this example, some factories and Capybara. That's all.
34
34
 
35
- If you are not in Rails but use RSpec, then Steak is just some aliases providing you with the language of acceptance testing (+feature+, +scenario+, +background+). If you are in Rails, you also have a couple of generators and full Rails integration testing (meaning Webrat support, for instance)
35
+ If you are not in Rails but use RSpec, then Steak is just some aliases providing you with the language of acceptance testing (+feature+, +scenario+, +background+). If you are in Rails, you also have a couple of generators, a rake task and full Rails integration testing (meaning Webrat support, for instance)
36
36
 
37
37
  == Getting started
38
38
 
@@ -63,7 +63,7 @@ Run the generator:
63
63
 
64
64
  $ script/generate steak
65
65
 
66
- That will create some basic helper files and directory structure under the +spec+ directory, already configured for +Webrat+.
66
+ That will create some basic helper files and directory structure under the +spec/acceptance+ directory, already configured for +Webrat+. Spend one minute on getting familiar with the structure and files you've got.
67
67
 
68
68
  Now you may want to create your first acceptance spec:
69
69
 
@@ -77,6 +77,10 @@ You run your acceptance specs just like your regular specs. Individually...
77
77
 
78
78
  $ spec spec/acceptance
79
79
 
80
+ ...you can also do:
81
+
82
+ $ rake spec:acceptance
83
+
80
84
  == Credits
81
85
 
82
86
  Steak is developed and maintained by Luismi Cavallé with the help and support of the rest of the BeBanjo team: Sergio Gil and Jorge Gómez Sancha.
@@ -1,4 +1,6 @@
1
1
  module HelperMethods
2
+ # Put here any helper method you need to be available in all your acceptance tests
3
+
2
4
  end
3
5
 
4
6
  Spec::Runner.configuration.include(HelperMethods)
@@ -1,4 +1,6 @@
1
1
  module NavigationHelpers
2
+ # Put here the helper methods related to the paths of your applications
3
+
2
4
  def homepage
3
5
  "/"
4
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: steak
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Luismi Cavall\xC3\xA9"
@@ -9,11 +9,20 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-01 00:00:00 +01:00
12
+ date: 2010-01-02 00:00:00 +01:00
13
13
  default_executable:
14
- dependencies: []
15
-
16
- description: Acceptance specs for Rails
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rspec
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ version:
25
+ description: Minimalist acceptance testing on top of RSpec
17
26
  email: luismi@lmcavalle.com
18
27
  executables: []
19
28
 
@@ -60,7 +69,7 @@ rubyforge_project:
60
69
  rubygems_version: 1.3.5
61
70
  signing_key:
62
71
  specification_version: 3
63
- summary: A steak is a cucumber fermented in vinegar or brine
72
+ summary: If you are not in Rails but use RSpec, then Steak is just some aliases providing you with the language of acceptance testing (feature, scenario, background). If you are in Rails, you also have a couple of generators, a rake task and full Rails integration testing (meaning Webrat support, for instance)
64
73
  test_files:
65
74
  - spec/acceptance/acceptance_helper.rb
66
75
  - spec/acceptance/acceptance_spec_generator_spec.rb