bbq 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f512a9b51c233f36e2200fcd837bbe0a543de1f0
4
+ data.tar.gz: b7eddf0a7415cc1a7658f5352180be479f81c60a
5
+ SHA512:
6
+ metadata.gz: 8762aceda8bc14c5d3fc843c3b396195f1f1eaac889d8a4ca54221f192fb78c939fe8ba1f0bbde301ceb29ada7c9f814fb96f4e2b215fb9a7635873c2ea6e678
7
+ data.tar.gz: b4b6afca79551d918f5fca92909e0ac054f544450c57d781ecc6716345baf0fd6d8042af0b2c624047e5bc4acf9b776d866d176d3af75a95a5aa3a306936c603
data/.travis.yml CHANGED
@@ -1,7 +1,8 @@
1
- script: bundle exec rake test
2
1
  rvm:
3
2
  - 1.9.3
4
3
  - 1.9.2
5
- - 1.8.7
6
- - ree
4
+ - 2.0.0
7
5
  - rbx-19mode
6
+
7
+ matrix:
8
+ allow_failures:
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 0.2.0
2
+ ==================
3
+
4
+ * Dropped support for Ruby 1.8.7
5
+ * Capybara 2.0 support
6
+
1
7
  0.1.0 / 2013-01-06
2
8
  ==================
3
9
 
@@ -13,8 +19,8 @@
13
19
  0.0.4 / 2011-10-19
14
20
  ==================
15
21
 
16
- * Make bbq work with capybara 1.0 and 1.1
17
- * rails is development dependency
22
+ * Make Bbq work with Capybara 1.0 and 1.1
23
+ * Rails is development dependency
18
24
 
19
25
  0.0.3 / 2011-07-14
20
26
  ==================
@@ -32,4 +38,4 @@
32
38
  0.0.1 / 2011-04-20
33
39
  ==================
34
40
 
35
- * BBQ introduced to the wild world!
41
+ * Bbq introduced to the wild world!
data/README.md CHANGED
@@ -1,54 +1,28 @@
1
- Warning & disclaimer
2
- ====================
1
+ # BBQ
3
2
 
4
- This gem is currently under development. We're targeting most popular use cases - Rails & Rack applications (ex. Sinatra). However the philosophy behind it is not limited to Rails nor web applications in general. There is even example usage with EventMachine. Feel free to modify it for your own needs.
5
-
6
- [![Build Status](https://secure.travis-ci.org/drugpl/bbq.png)](http://travis-ci.org/drugpl/bbq) [![Dependency Status](https://gemnasium.com/drugpl/bbq.png)](https://gemnasium.com/drugpl/bbq)
7
-
8
- BBQ
9
- ===
3
+ [![Build Status](https://secure.travis-ci.org/drugpl/bbq.png)](http://travis-ci.org/drugpl/bbq) [![Dependency Status](https://gemnasium.com/drugpl/bbq.png)](https://gemnasium.com/drugpl/bbq) [![Code Climate](https://codeclimate.com/github/drugpl/bbq.png)](https://codeclimate.com/github/drugpl/bbq) [![Gem Version](https://badge.fury.io/rb/bbq.png)](http://badge.fury.io/rb/bbq)
10
4
 
11
5
  Object oriented acceptance testing using personas.
12
6
 
13
- * Ruby
14
- * OOP
15
- * DCI (Data Context Interaction) - for roles/personas
16
- * Test framework independent, based on Capybara
17
- * Opinionated
18
-
19
- Difference from Cucumber
20
- ========================
21
-
22
- * No Gherkin
7
+ * Ruby (no Gherkin)
23
8
  * Objects and methods instead of steps
24
- * Easier code reuse
25
- * No factories/fixtures
26
-
27
- Example applications
28
- ====================
29
-
30
- * https://github.com/pawelpacana/roundtrip
31
-
32
- Related examples
33
- ================
34
-
35
- * https://github.com/pawelpacana/eventmachine-bbq-example
36
- * https://github.com/drugpl/drug-site
9
+ * Test framework independent (RSpec and Test::Unit support)
10
+ * Thins based on Capybara.
11
+ * DCI (Data Context Interaction) for roles/personas
12
+ * Opinionated
37
13
 
38
- Installation
39
- ============
14
+ ## Setup
40
15
 
41
- First, add BBQ to your apps Gemfile:
16
+ First, add BBQ to your apps `Gemfile`:
42
17
 
43
18
  ```ruby
44
- # Gemfile
45
- gem "bbq", :git => "git://github.com/drugpl/bbq"
19
+ gem "bbq", "0.2.0"
46
20
  ```
47
21
 
48
22
  Run install generator:
49
23
 
50
24
  ```
51
- rails generate bbq:install
25
+ bundle exec rails generate bbq:install
52
26
  ```
53
27
 
54
28
  Require BBQ in test/test_helper.rb (in case of Test::Unit):
@@ -63,87 +37,84 @@ Require BBQ in spec/spec_helper.rb (in case of RSpec):
63
37
  require "bbq/rspec"
64
38
  ```
65
39
 
66
- Feature generator
67
- =================
40
+ ## Feature generator
68
41
 
69
42
  ```
70
- rails g bbq:test MyFeatureName
43
+ bundle exec rails g bbq:test MyFeatureName
71
44
  ```
72
45
 
73
- Running features
74
- ================
46
+ ## Running features
75
47
 
76
48
  For Test::Unit flavour:
77
49
 
78
50
  ```
79
- rake test:acceptance
51
+ bundle exec rake test:acceptance
80
52
  ```
81
53
 
82
54
  For RSpec flavour:
83
55
 
84
56
  ```
85
- spec:acceptance
57
+ bundle exec rake spec:acceptance
86
58
  ```
87
59
 
88
- Examples
89
- ========
60
+ ## Examples
61
+
62
+ ### Roles and Devise integration
90
63
 
91
64
  ```ruby
92
- module Roundtrip
93
- class TestUser < Bbq::TestUser
94
- include Bbq::Devise
95
-
96
- def update_ticket(summary, comment)
97
- show_ticket(summary)
98
- fill_in "Comment", :with => comment
99
- click_on "Add update"
100
- end
65
+ class TestUser < Bbq::TestUser
66
+ include Bbq::Devise
101
67
 
102
- def open_application
103
- visit '/'
104
- end
68
+ def update_ticket(summary, comment)
69
+ show_ticket(summary)
70
+ fill_in "Comment", :with => comment
71
+ click_on "Add update"
72
+ end
105
73
 
106
- module TicketReporter
107
- def open_tickets_listing
108
- open_application
109
- click_link 'Tickets'
110
- end
74
+ def open_application
75
+ visit '/'
76
+ end
111
77
 
112
- def open_ticket(summary, description)
113
- open_tickets_listing
114
- click_on "Open a new ticket"
115
- fill_in "Summary", :with => summary
116
- fill_in "Description", :with => description
117
- click_on "Open ticket"
118
- end
78
+ module TicketReporter
79
+ def open_tickets_listing
80
+ open_application
81
+ click_link 'Tickets'
82
+ end
119
83
 
120
- def show_ticket(summary)
121
- open_tickets_listing
122
- click_on summary
123
- end
84
+ def open_ticket(summary, description)
85
+ open_tickets_listing
86
+ click_on "Open a new ticket"
87
+ fill_in "Summary", :with => summary
88
+ fill_in "Description", :with => description
89
+ click_on "Open ticket"
124
90
  end
125
91
 
126
- module TicketManager
127
- def open_administration
128
- visit '/admin'
129
- end
92
+ def show_ticket(summary)
93
+ open_tickets_listing
94
+ click_on summary
95
+ end
96
+ end
130
97
 
131
- def open_tickets_listing
132
- open_administration
133
- click_link 'Tickets'
134
- end
98
+ module TicketManager
99
+ def open_administration
100
+ visit '/admin'
101
+ end
135
102
 
136
- def close_ticket(summary, comment = nil)
137
- open_tickets_listing
138
- click_on summary
139
- fill_in "Comment", :with => comment if comment
140
- click_on "Close ticket"
141
- end
103
+ def open_tickets_listing
104
+ open_administration
105
+ click_link 'Tickets'
106
+ end
142
107
 
143
- def show_ticket(summary)
144
- open_tickets_listing
145
- click_on summary
146
- end
108
+ def close_ticket(summary, comment = nil)
109
+ open_tickets_listing
110
+ click_on summary
111
+ fill_in "Comment", :with => comment if comment
112
+ click_on "Close ticket"
113
+ end
114
+
115
+ def show_ticket(summary)
116
+ open_tickets_listing
117
+ click_on summary
147
118
  end
148
119
  end
149
120
  end
@@ -161,17 +132,17 @@ class AdminTicketsTest < Bbq::TestCase
161
132
  descriptions = ["I lost my yellow note with password under the table!",
162
133
  "My IE renders crap instead of crispy fonts!"]
163
134
 
164
- alice = Roundtrip::TestUser.new
135
+ alice = TestUser.new
165
136
  alice.roles(:ticket_reporter)
166
137
  alice.register_and_login
167
138
  alice.open_ticket(summaries.first, descriptions.first)
168
139
 
169
- bob = Roundtrip::TestUser.new
140
+ bob = TestUser.new
170
141
  bob.roles(:ticket_reporter)
171
142
  bob.register_and_login
172
143
  bob.open_ticket(summaries.second, descriptions.second)
173
144
 
174
- charlie = Roundtrip::TestUser.new(:email => @email, :password => @password)
145
+ charlie = TestUser.new(:email => @email, :password => @password)
175
146
  charlie.login # charlie was already "registered" in factory as admin
176
147
  charlie.roles(:ticket_manager)
177
148
  charlie.open_tickets_listing
@@ -184,8 +155,67 @@ class AdminTicketsTest < Bbq::TestCase
184
155
  end
185
156
  ```
186
157
 
187
- Testing REST APIs
188
- ================
158
+ ### RSpec integration
159
+
160
+ ```ruby
161
+ class TestUser < Bbq::TestUser
162
+ def email
163
+ @options[:email] || "buyer@example.com"
164
+ end
165
+
166
+ module Buyer
167
+ def ask_question(question)
168
+ fill_in "question", :with => question
169
+ fill_in "email", :with => email
170
+ click_on("Ask")
171
+ end
172
+
173
+ def go_to_page_and_open_widget(page_url, &block)
174
+ go_to_page(page_url)
175
+ open_widget &block
176
+ end
177
+
178
+ def go_to_page(page_url)
179
+ visit page_url
180
+ wait_until { page.find("iframe") }
181
+ end
182
+
183
+ def open_widget
184
+ within_widget do
185
+ page.find("#widget h3").click
186
+ yield if block_given?
187
+ end
188
+ end
189
+
190
+ ef within_widget(&block)
191
+ within_frame(widget_frame, &block)
192
+ end
193
+
194
+ def widget_frame
195
+ page.evaluate_script("document.getElementsByTagName('iframe')[0].id")
196
+ end
197
+ end
198
+ end
199
+ ```
200
+
201
+ ```ruby
202
+ feature "ask question widget" do
203
+ let(:user) {
204
+ user = TestUser.new(:driver => :webkit)
205
+ user.roles('buyer')
206
+ user
207
+ }
208
+
209
+ scenario "as a guest user, I should be able to ask a question" do
210
+ user.go_to_page_and_open_widget("/widget") do
211
+ user.ask_question "my question"
212
+ user.see!("Thanks!")
213
+ end
214
+ end
215
+ end
216
+ ```
217
+
218
+ ## Testing REST APIs
189
219
 
190
220
  Bbq provides `Bbq::TestClient`, similar to `Bbq::TestUser`, but intended for testing APIs.
191
221
  It's a thin wrapper around `Rack::Test` which allows you to send requests and run assertions
@@ -210,8 +240,7 @@ class ApiTest < Bbq::TestCase
210
240
  end
211
241
  ```
212
242
 
213
- Rails' URL Helpers
214
- ================
243
+ ## Rails URL Helpers
215
244
 
216
245
  Using url helpers from Rails in integration tests is not recommended.
217
246
  Testing routes is part of integration test, so you should actually use only
@@ -227,26 +256,21 @@ If you really need url helpers in your test user, just include them in your Test
227
256
  ```ruby
228
257
  require 'bbq/rails/routes'
229
258
 
230
- module Roundtrip
231
- class TestUser < Bbq::TestUser
232
- include Bbq::Rails::Routes
233
- end
259
+ class TestUser < Bbq::TestUser
260
+ include Bbq::Rails::Routes
234
261
  end
235
262
  ```
236
263
  or just
237
264
 
238
265
  ```ruby
239
- module Roundtrip
240
- class TestUser < Bbq::TestUser
241
- include ::ActionDispatch::Routing::UrlFor
242
- include ::Rails.application.routes.url_helpers
243
- include ::ActionDispatch::Routing::RouteSet::MountedHelpers unless ::Rails.version < "3.1"
244
- end
266
+ class TestUser < Bbq::TestUser
267
+ include ::ActionDispatch::Routing::UrlFor
268
+ include ::Rails.application.routes.url_helpers
269
+ include ::ActionDispatch::Routing::RouteSet::MountedHelpers unless ::Rails.version < "3.1"
245
270
  end
246
271
  ```
247
272
 
248
- Deal with Devise
249
- ================
273
+ ## Devise support
250
274
 
251
275
  ```ruby
252
276
  require "bbq/test_user"
@@ -267,10 +291,9 @@ test "user register with devise" do
267
291
  end
268
292
  ```
269
293
 
270
- Caveats
271
- =======
294
+ ## Caveats
272
295
 
273
- <h2>Timeout::Error</h2>
296
+ ### Timeout::Error
274
297
 
275
298
  If you simulate multiple users in your tests and spawn multiple browsers with selenium it might
276
299
  be a good idea to use Thin instead of Webrick to create application server.
@@ -284,45 +307,12 @@ Capybara will use Thin instead of Webrick when it's available, so you only need
284
307
  # In test group if you want it to
285
308
  # be used only in tests and not in your development mode
286
309
  # ex. when running 'rails s'
287
- gem 'thin', :require => false
288
- ```
289
-
290
- Development environment
291
- =======================
292
310
 
311
+ gem 'thin', :require => false
293
312
  ```
294
- bundle install
295
- bundle exec rake test
296
- ```
297
-
298
- Additional information
299
- ======================
300
-
301
- * 2 problems with Cucumber http://andrzejonsoftware.blogspot.com/2011/03/2-problems-with-cucumber.html
302
- * Object oriented acceptance testing http://andrzejonsoftware.blogspot.com/2011/04/object-oriented-acceptance-testing.html
303
- * Events in acceptance tests http://andrzejonsoftware.blogspot.com/2011/04/events-in-acceptance-tests.html
304
-
305
- Maintainers
306
- ===========
307
-
308
- * Paweł Pacana (http://github.com/pawelpacana)
309
- * Andrzej Krzywda (http://andrzejkrzywda.com)
310
- * Michał Łomnicki (http://mlomnicki.com)
311
- * Robert Pankowecki (http://robert.pankowecki.pl)
312
-
313
- Contributors
314
- ============
315
-
316
- * Piotr Niełacny (http://ruby-blog.pl)
317
- * Peter Suschlik (http://peter.suschlik.de)
318
- * Jan Dudek (http://jandudek.com)
319
-
320
- Future plans
321
- ============
322
313
 
323
- * Events (http://andrzejonsoftware.blogspot.com/2011/04/events-in-acceptance-tests.html)
314
+ ## Additional information
324
315
 
325
- License
326
- =======
316
+ * [2 problems with Cucumber](http://andrzejonsoftware.blogspot.com/2011/03/2-problems-with-cucumber.html)
317
+ * [Object oriented acceptance testing](http://andrzejonsoftware.blogspot.com/2011/04/object-oriented-acceptance-testing.html)
327
318
 
328
- MIT License
data/bbq.gemspec CHANGED
@@ -19,14 +19,14 @@ Gem::Specification.new do |s|
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_dependency "capybara", "~> 1.0"
22
+ s.add_dependency "capybara", "~> 2.0"
23
23
  s.add_dependency "activesupport", ">= 2.0"
24
24
 
25
+ s.add_development_dependency "rake"
25
26
  s.add_development_dependency "sqlite3", "~> 1.3.3"
26
- s.add_development_dependency "rake", "~> 0.8.7"
27
27
  s.add_development_dependency "rdoc", "~> 3.7"
28
- s.add_development_dependency "devise", "~> 1.4.0"
29
- s.add_development_dependency "sinatra", "~> 1.2.6"
30
- s.add_development_dependency "rspec-rails", "~> 2.6.0"
28
+ s.add_development_dependency "devise", ">= 1.4.0"
29
+ s.add_development_dependency "sinatra", ">= 1.2.6"
30
+ s.add_development_dependency "rspec-rails", "~> 2.6"
31
31
  s.add_development_dependency "rails", ">= 3.0.0"
32
32
  end
data/lib/bbq/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bbq
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -80,7 +80,7 @@ Devise.setup do |config|
80
80
 
81
81
  # If true, uses the password salt as remember token. This should be turned
82
82
  # to false if you are not using database authenticatable.
83
- config.use_salt_as_remember_token = true
83
+ # config.use_salt_as_remember_token = true
84
84
 
85
85
  # Options to be passed to the created cookie. For instance, you can set
86
86
  # :secure => true in order to force SSL only cookies.
@@ -41,6 +41,9 @@ class DriverFactory
41
41
  @clean
42
42
  end
43
43
 
44
+ def needs_server?
45
+ false
46
+ end
44
47
  end
45
48
 
46
49
  end
@@ -14,8 +14,6 @@ class BbqTestUnitTest < Test::Unit::TestCase
14
14
  require 'bbq/test_user'
15
15
 
16
16
  class DopeAppRootTest < Bbq::TestCase
17
- FAILED_ASSERTION = RUBY_VERSION < "1.9" ? Test::Unit::AssertionFailedError : MiniTest::Assertion
18
-
19
17
  background do
20
18
  Bbq.app = ::Dope::App
21
19
  end
@@ -26,8 +24,8 @@ class BbqTestUnitTest < Test::Unit::TestCase
26
24
  user.see!("BBQ supports sinatra")
27
25
  assert user.see?("BBQ supports sinatra")
28
26
 
29
- assert_raises(FAILED_ASSERTION) { user.see!("blah") }
30
- assert_raises(FAILED_ASSERTION) { user.not_see!("BBQ supports sinatra") }
27
+ assert_raises(MiniTest::Assertion) { user.see!("blah") }
28
+ assert_raises(MiniTest::Assertion) { user.not_see!("BBQ supports sinatra") }
31
29
  end
32
30
  end
33
31
  TESTCASE
@@ -68,8 +66,6 @@ class BbqTestUnitTest < Test::Unit::TestCase
68
66
  require 'bbq/test_unit'
69
67
  require 'bbq/test_user'
70
68
 
71
- FAILED_ASSERTION = RUBY_VERSION < "1.9" ? Test::Unit::AssertionFailedError : MiniTest::Assertion
72
-
73
69
  class ImplicitUserEyesTest < Bbq::TestCase
74
70
  scenario 'should see welcome text' do
75
71
  user = Bbq::TestUser.new
@@ -77,8 +73,8 @@ class BbqTestUnitTest < Test::Unit::TestCase
77
73
  user.see!("MIRACLE")
78
74
  user.not_see!("BBQ")
79
75
 
80
- assert_raises(FAILED_ASSERTION) { user.see!("BBQ") }
81
- assert_raises(FAILED_ASSERTION) { user.not_see!("MIRACLE") }
76
+ assert_raises(MiniTest::Assertion) { user.see!("BBQ") }
77
+ assert_raises(MiniTest::Assertion) { user.not_see!("MIRACLE") }
82
78
  end
83
79
  end
84
80
  TESTUNIT
metadata CHANGED
@@ -1,160 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbq
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.1.0
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - DRUG - Dolnośląska Grupa Użytkowników Ruby
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-05 00:00:00.000000000 Z
11
+ date: 2013-03-07 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- version_requirements: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: '1.0'
20
- none: false
21
- prerelease: false
22
14
  name: capybara
23
15
  requirement: !ruby/object:Gem::Requirement
24
16
  requirements:
25
17
  - - ~>
26
18
  - !ruby/object:Gem::Version
27
- version: '1.0'
28
- none: false
19
+ version: '2.0'
29
20
  type: :runtime
30
- - !ruby/object:Gem::Dependency
21
+ prerelease: false
31
22
  version_requirements: !ruby/object:Gem::Requirement
32
23
  requirements:
33
- - - ! '>='
24
+ - - ~>
34
25
  - !ruby/object:Gem::Version
35
26
  version: '2.0'
36
- none: false
37
- prerelease: false
27
+ - !ruby/object:Gem::Dependency
38
28
  name: activesupport
39
29
  requirement: !ruby/object:Gem::Requirement
40
30
  requirements:
41
- - - ! '>='
31
+ - - '>='
42
32
  - !ruby/object:Gem::Version
43
33
  version: '2.0'
44
- none: false
45
34
  type: :runtime
46
- - !ruby/object:Gem::Dependency
35
+ prerelease: false
47
36
  version_requirements: !ruby/object:Gem::Requirement
48
37
  requirements:
49
- - - ~>
38
+ - - '>='
50
39
  - !ruby/object:Gem::Version
51
- version: 1.3.3
52
- none: false
53
- prerelease: false
54
- name: sqlite3
40
+ version: '2.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
55
43
  requirement: !ruby/object:Gem::Requirement
56
44
  requirements:
57
- - - ~>
45
+ - - '>='
58
46
  - !ruby/object:Gem::Version
59
- version: 1.3.3
60
- none: false
47
+ version: '0'
61
48
  type: :development
62
- - !ruby/object:Gem::Dependency
49
+ prerelease: false
63
50
  version_requirements: !ruby/object:Gem::Requirement
64
51
  requirements:
65
- - - ~>
52
+ - - '>='
66
53
  - !ruby/object:Gem::Version
67
- version: 0.8.7
68
- none: false
69
- prerelease: false
70
- name: rake
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: sqlite3
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - ~>
74
60
  - !ruby/object:Gem::Version
75
- version: 0.8.7
76
- none: false
61
+ version: 1.3.3
77
62
  type: :development
78
- - !ruby/object:Gem::Dependency
63
+ prerelease: false
79
64
  version_requirements: !ruby/object:Gem::Requirement
80
65
  requirements:
81
66
  - - ~>
82
67
  - !ruby/object:Gem::Version
83
- version: '3.7'
84
- none: false
85
- prerelease: false
68
+ version: 1.3.3
69
+ - !ruby/object:Gem::Dependency
86
70
  name: rdoc
87
71
  requirement: !ruby/object:Gem::Requirement
88
72
  requirements:
89
73
  - - ~>
90
74
  - !ruby/object:Gem::Version
91
75
  version: '3.7'
92
- none: false
93
76
  type: :development
94
- - !ruby/object:Gem::Dependency
77
+ prerelease: false
95
78
  version_requirements: !ruby/object:Gem::Requirement
96
79
  requirements:
97
80
  - - ~>
98
81
  - !ruby/object:Gem::Version
99
- version: 1.4.0
100
- none: false
101
- prerelease: false
82
+ version: '3.7'
83
+ - !ruby/object:Gem::Dependency
102
84
  name: devise
103
85
  requirement: !ruby/object:Gem::Requirement
104
86
  requirements:
105
- - - ~>
87
+ - - '>='
106
88
  - !ruby/object:Gem::Version
107
89
  version: 1.4.0
108
- none: false
109
90
  type: :development
110
- - !ruby/object:Gem::Dependency
91
+ prerelease: false
111
92
  version_requirements: !ruby/object:Gem::Requirement
112
93
  requirements:
113
- - - ~>
94
+ - - '>='
114
95
  - !ruby/object:Gem::Version
115
- version: 1.2.6
116
- none: false
117
- prerelease: false
96
+ version: 1.4.0
97
+ - !ruby/object:Gem::Dependency
118
98
  name: sinatra
119
99
  requirement: !ruby/object:Gem::Requirement
120
100
  requirements:
121
- - - ~>
101
+ - - '>='
122
102
  - !ruby/object:Gem::Version
123
103
  version: 1.2.6
124
- none: false
125
104
  type: :development
126
- - !ruby/object:Gem::Dependency
105
+ prerelease: false
127
106
  version_requirements: !ruby/object:Gem::Requirement
128
107
  requirements:
129
- - - ~>
108
+ - - '>='
130
109
  - !ruby/object:Gem::Version
131
- version: 2.6.0
132
- none: false
133
- prerelease: false
110
+ version: 1.2.6
111
+ - !ruby/object:Gem::Dependency
134
112
  name: rspec-rails
135
113
  requirement: !ruby/object:Gem::Requirement
136
114
  requirements:
137
115
  - - ~>
138
116
  - !ruby/object:Gem::Version
139
- version: 2.6.0
140
- none: false
117
+ version: '2.6'
141
118
  type: :development
142
- - !ruby/object:Gem::Dependency
119
+ prerelease: false
143
120
  version_requirements: !ruby/object:Gem::Requirement
144
121
  requirements:
145
- - - ! '>='
122
+ - - ~>
146
123
  - !ruby/object:Gem::Version
147
- version: 3.0.0
148
- none: false
149
- prerelease: false
124
+ version: '2.6'
125
+ - !ruby/object:Gem::Dependency
150
126
  name: rails
151
127
  requirement: !ruby/object:Gem::Requirement
152
128
  requirements:
153
- - - ! '>='
129
+ - - '>='
154
130
  - !ruby/object:Gem::Version
155
131
  version: 3.0.0
156
- none: false
157
132
  type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: 3.0.0
158
139
  description: Objected oriented acceptance testing for Rails, using personas.
159
140
  email:
160
141
  - bbq@drug.org.pl
@@ -245,33 +226,26 @@ files:
245
226
  - test/unit/bbq_util_test.rb
246
227
  homepage: ''
247
228
  licenses: []
229
+ metadata: {}
248
230
  post_install_message:
249
231
  rdoc_options: []
250
232
  require_paths:
251
233
  - lib
252
234
  required_ruby_version: !ruby/object:Gem::Requirement
253
235
  requirements:
254
- - - ! '>='
236
+ - - '>='
255
237
  - !ruby/object:Gem::Version
256
238
  version: '0'
257
- segments:
258
- - 0
259
- hash: -3767528183073540906
260
- none: false
261
239
  required_rubygems_version: !ruby/object:Gem::Requirement
262
240
  requirements:
263
- - - ! '>='
241
+ - - '>='
264
242
  - !ruby/object:Gem::Version
265
243
  version: '0'
266
- segments:
267
- - 0
268
- hash: -3767528183073540906
269
- none: false
270
244
  requirements: []
271
245
  rubyforge_project: bbq
272
- rubygems_version: 1.8.24
246
+ rubygems_version: 2.0.0
273
247
  signing_key:
274
- specification_version: 3
248
+ specification_version: 4
275
249
  summary: Objected oriented acceptance testing for Rails, using personas.
276
250
  test_files:
277
251
  - test/dope/app.rb