cucumber-sinatra 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md
CHANGED
data/cucumber-sinatra.gemspec
CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
|
|
7
7
|
## If your rubyforge_project name is different, then edit it and comment out
|
8
8
|
## the sub! line in the Rakefile
|
9
9
|
s.name = 'cucumber-sinatra'
|
10
|
-
s.version = '0.2.
|
11
|
-
s.date = '2010-
|
10
|
+
s.version = '0.2.4'
|
11
|
+
s.date = '2010-09-30'
|
12
12
|
s.rubyforge_project = 'cucumber-sinatra'
|
13
13
|
|
14
14
|
s.summary = "Initialize a cucumber environment for sinatra"
|
data/lib/cucumber/sinatra.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by cucumber-sinatra. (<%= Time.now %>)
|
2
2
|
|
3
|
+
ENV['RACK_ENV'] = 'test'
|
4
|
+
|
3
5
|
require File.join(File.dirname(__FILE__), '..', '..', '<%= app_file -%>')
|
4
6
|
|
5
7
|
require 'capybara'
|
6
8
|
require 'capybara/cucumber'
|
7
9
|
require 'spec'
|
8
10
|
|
9
|
-
<%= app_class -%>.set(:environment, :test)
|
10
|
-
|
11
11
|
Capybara.app = <%= app_class %>
|
12
12
|
|
13
13
|
class <%= app_class -%>World
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 4
|
10
|
+
version: 0.2.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bernd Ahlers
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-09-30 00:00:00 +02:00
|
19
19
|
default_executable: cucumber-sinatra
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|