shoulda 3.0.0.beta2 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.autotest +13 -0
- data/.gitignore +11 -0
- data/.travis.yml +3 -0
- data/Gemfile +1 -7
- data/README.md +32 -31
- data/Rakefile +2 -13
- data/features/rails_integration.feature +87 -0
- data/features/step_definitions/rails_steps.rb +77 -0
- data/features/support/env.rb +5 -0
- data/lib/shoulda/version.rb +1 -2
- data/shoulda.gemspec +28 -0
- metadata +115 -33
- data/Gemfile.lock +0 -113
data/.autotest
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
Autotest.add_hook :initialize do |at|
|
2
|
+
at.add_mapping(%r{^lib/\w.*\.rb}) do
|
3
|
+
at.files_matching(%r{^test/*/\w.*_test\.rb})
|
4
|
+
end
|
5
|
+
|
6
|
+
at.add_mapping(%r{^test/rails_root/\w.*}) do
|
7
|
+
at.files_matching(%r{^test/*/\w.*_test\.rb})
|
8
|
+
end
|
9
|
+
|
10
|
+
at.add_exception(%r{.svn})
|
11
|
+
at.add_exception(%r{.log$})
|
12
|
+
at.add_exception(%r{^.autotest$})
|
13
|
+
end
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
shoulda
|
2
|
-
===================================================
|
1
|
+
# shoulda [](http://travis-ci.org/thoughtbot/shoulda)
|
3
2
|
|
4
3
|
The shoulda gem is a meta gem with two dependencies:
|
5
4
|
|
@@ -18,39 +17,39 @@ rspec with shoulda-matchers
|
|
18
17
|
|
19
18
|
This is what thoughtbot currently does. We write tests like:
|
20
19
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
20
|
+
describe Post do
|
21
|
+
it { should belong_to(:user) }
|
22
|
+
it { should validate_presence_of(:title) }
|
23
|
+
end
|
25
24
|
|
26
25
|
The belong_to and validate_presence_of methods are the matchers.
|
27
26
|
All matchers are Rails 3-specific.
|
28
27
|
|
29
28
|
Add rspec-rails and shoulda-matchers to the project's Gemfile:
|
30
29
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
group :test do
|
31
|
+
gem 'rspec-rails'
|
32
|
+
gem 'shoulda-matchers'
|
33
|
+
end
|
35
34
|
|
36
35
|
test/unit with shoulda
|
37
36
|
----------------------
|
38
37
|
|
39
38
|
For the folks who prefer Test::Unit, they'd write tests like:
|
40
39
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
40
|
+
class UserTest < Test::Unit::TestCase
|
41
|
+
should have_many(:posts)
|
42
|
+
should_not allow_value("blah").for(:email)
|
43
|
+
end
|
45
44
|
|
46
45
|
The have_many and allow_value methods are the same kind of matchers
|
47
46
|
seen in the RSpec example. They come from the shoulda-matchers gem.
|
48
47
|
|
49
48
|
Add shoulda to the project's Gemfile:
|
50
49
|
|
51
|
-
|
52
|
-
|
53
|
-
|
50
|
+
group :test do
|
51
|
+
gem 'shoulda'
|
52
|
+
end
|
54
53
|
|
55
54
|
test/unit with shoulda-context
|
56
55
|
------------------------------
|
@@ -58,27 +57,27 @@ test/unit with shoulda-context
|
|
58
57
|
If you're not testing a Rails project or don't want to use the matchers,
|
59
58
|
you can use shoulda-context independently to write tests like:
|
60
59
|
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
60
|
+
class CalculatorTest < Test::Unit::TestCase
|
61
|
+
context "a calculator" do
|
62
|
+
setup do
|
63
|
+
@calculator = Calculator.new
|
64
|
+
end
|
66
65
|
|
67
|
-
|
68
|
-
|
69
|
-
|
66
|
+
should "add two numbers for the sum" do
|
67
|
+
assert_equal 4, @calculator.sum(2, 2)
|
68
|
+
end
|
70
69
|
|
71
|
-
|
72
|
-
|
70
|
+
should "multiply two numbers for the product" do
|
71
|
+
assert_equal 10, @calculator.product(2, 5)
|
72
|
+
end
|
73
73
|
end
|
74
74
|
end
|
75
|
-
end
|
76
75
|
|
77
76
|
Add shoulda-context to the project's Gemfile:
|
78
77
|
|
79
|
-
|
80
|
-
|
81
|
-
|
78
|
+
group :test do
|
79
|
+
gem 'shoulda-context'
|
80
|
+
end
|
82
81
|
|
83
82
|
Credits
|
84
83
|
-------
|
@@ -87,6 +86,8 @@ Credits
|
|
87
86
|
|
88
87
|
Shoulda is maintained and funded by [thoughtbot, inc](http://thoughtbot.com/community)
|
89
88
|
|
89
|
+
Thank you to all [the contributors](https://github.com/thoughtbot/shoulda/contributors)!
|
90
|
+
|
90
91
|
The names and logos for thoughtbot are trademarks of thoughtbot, inc.
|
91
92
|
|
92
93
|
License
|
data/Rakefile
CHANGED
@@ -1,18 +1,8 @@
|
|
1
|
-
require 'rubygems'
|
2
1
|
require 'bundler/setup'
|
3
|
-
require '
|
4
|
-
require '
|
2
|
+
require 'rubygems'
|
3
|
+
require 'bundler/gem_tasks'
|
5
4
|
require 'cucumber/rake/task'
|
6
5
|
|
7
|
-
$LOAD_PATH.unshift("lib")
|
8
|
-
require 'shoulda/version'
|
9
|
-
|
10
|
-
eval("$specification = begin; #{IO.read('shoulda.gemspec')}; end")
|
11
|
-
Rake::GemPackageTask.new $specification do |pkg|
|
12
|
-
pkg.need_tar = true
|
13
|
-
pkg.need_zip = true
|
14
|
-
end
|
15
|
-
|
16
6
|
desc "Clean files generated by rake tasks"
|
17
7
|
task :clobber => [:clobber_rdoc, :clobber_package]
|
18
8
|
|
@@ -23,4 +13,3 @@ end
|
|
23
13
|
|
24
14
|
desc 'Default: run cucumber features'
|
25
15
|
task :default => [:cucumber]
|
26
|
-
|
@@ -0,0 +1,87 @@
|
|
1
|
+
@disable-bundler
|
2
|
+
Feature: integrate with Rails
|
3
|
+
|
4
|
+
Background:
|
5
|
+
When I generate a new rails application
|
6
|
+
And I write to "db/migrate/1_create_users.rb" with:
|
7
|
+
"""
|
8
|
+
class CreateUsers < ActiveRecord::Migration
|
9
|
+
def self.up
|
10
|
+
create_table :users do |t|
|
11
|
+
t.string :name
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
"""
|
16
|
+
When I successfully run "rake db:migrate --trace"
|
17
|
+
And I write to "app/models/user.rb" with:
|
18
|
+
"""
|
19
|
+
class User < ActiveRecord::Base
|
20
|
+
validates_presence_of :name
|
21
|
+
end
|
22
|
+
"""
|
23
|
+
When I write to "app/controllers/examples_controller.rb" with:
|
24
|
+
"""
|
25
|
+
class ExamplesController < ApplicationController
|
26
|
+
def show
|
27
|
+
@example = 'hello'
|
28
|
+
render :nothing => true
|
29
|
+
end
|
30
|
+
end
|
31
|
+
"""
|
32
|
+
When I configure a wildcard route
|
33
|
+
|
34
|
+
Scenario: generate a rails application and use matchers in Test::Unit
|
35
|
+
When I configure the application to use shoulda
|
36
|
+
And I write to "test/unit/user_test.rb" with:
|
37
|
+
"""
|
38
|
+
require 'test_helper'
|
39
|
+
|
40
|
+
class UserTest < ActiveSupport::TestCase
|
41
|
+
should validate_presence_of(:name)
|
42
|
+
end
|
43
|
+
"""
|
44
|
+
When I write to "test/functional/examples_controller_test.rb" with:
|
45
|
+
"""
|
46
|
+
require 'test_helper'
|
47
|
+
|
48
|
+
class ExamplesControllerTest < ActionController::TestCase
|
49
|
+
def setup
|
50
|
+
get :show
|
51
|
+
end
|
52
|
+
|
53
|
+
should respond_with(:success)
|
54
|
+
should assign_to(:example)
|
55
|
+
end
|
56
|
+
"""
|
57
|
+
When I successfully run "rake test TESTOPTS=-v --trace"
|
58
|
+
Then the output should contain "1 tests, 1 assertions, 0 failures, 0 errors"
|
59
|
+
And the output should contain "2 tests, 2 assertions, 0 failures, 0 errors"
|
60
|
+
And the output should contain "User should require name to be set"
|
61
|
+
And the output should contain "ExamplesController should assign @example"
|
62
|
+
|
63
|
+
Scenario: generate a rails application and use matchers in Rspec
|
64
|
+
When I configure the application to use rspec-rails
|
65
|
+
And I configure the application to use shoulda-matchers
|
66
|
+
And I run the rspec generator
|
67
|
+
And I write to "spec/models/user_spec.rb" with:
|
68
|
+
"""
|
69
|
+
require 'spec_helper'
|
70
|
+
|
71
|
+
describe User do
|
72
|
+
it { should validate_presence_of(:name) }
|
73
|
+
end
|
74
|
+
"""
|
75
|
+
When I write to "spec/controllers/examples_controller_spec.rb" with:
|
76
|
+
"""
|
77
|
+
require 'spec_helper'
|
78
|
+
|
79
|
+
describe ExamplesController, "show" do
|
80
|
+
before { get :show }
|
81
|
+
it { should assign_to(:example) }
|
82
|
+
end
|
83
|
+
"""
|
84
|
+
When I successfully run "rake spec SPEC_OPTS=-fs --trace"
|
85
|
+
Then the output should contain "2 examples, 0 failures"
|
86
|
+
And the output should contain "should require name to be set"
|
87
|
+
And the output should contain "should assign @example"
|
@@ -0,0 +1,77 @@
|
|
1
|
+
PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')).freeze
|
2
|
+
APP_NAME = 'testapp'.freeze
|
3
|
+
|
4
|
+
When /^I generate a new rails application$/ do
|
5
|
+
steps %{
|
6
|
+
When I run "rails _3.0.3_ new #{APP_NAME}"
|
7
|
+
And I cd to "#{APP_NAME}"
|
8
|
+
And I write to "Gemfile" with:
|
9
|
+
"""
|
10
|
+
source "http://rubygems.org"
|
11
|
+
gem 'rails', '3.0.3'
|
12
|
+
gem 'sqlite3-ruby', :require => 'sqlite3'
|
13
|
+
"""
|
14
|
+
And I successfully run "bundle install --local"
|
15
|
+
}
|
16
|
+
end
|
17
|
+
|
18
|
+
When /^I configure the application to use "([^\"]+)" from this project$/ do |name|
|
19
|
+
append_to_gemfile "gem '#{name}', :path => '#{PROJECT_ROOT}'"
|
20
|
+
steps %{And I run "bundle install --local"}
|
21
|
+
end
|
22
|
+
|
23
|
+
When /^I run the rspec generator$/ do
|
24
|
+
steps %{
|
25
|
+
When I successfully run "rails generate rspec:install"
|
26
|
+
}
|
27
|
+
end
|
28
|
+
|
29
|
+
When /^I configure the application to use rspec\-rails$/ do
|
30
|
+
append_to_gemfile "gem 'rspec-rails'"
|
31
|
+
steps %{And I run "bundle install --local"}
|
32
|
+
end
|
33
|
+
|
34
|
+
When /^I configure the application to use shoulda-context$/ do
|
35
|
+
append_to_gemfile "gem 'shoulda-context', :git => 'git@github.com:thoughtbot/shoulda-context.git'"
|
36
|
+
steps %{And I run "bundle install --local"}
|
37
|
+
end
|
38
|
+
|
39
|
+
When /^I configure the application to use shoulda$/ do
|
40
|
+
append_to_gemfile "gem 'shoulda-matchers', :git => 'git@github.com:thoughtbot/shoulda-matchers.git', :require => false"
|
41
|
+
append_to_gemfile "gem 'shoulda-context', :git => 'git@github.com:thoughtbot/shoulda-context.git', :require => false"
|
42
|
+
append_to_gemfile "gem 'shoulda', :path => '../../..'"
|
43
|
+
steps %{And I run "bundle install --local"}
|
44
|
+
end
|
45
|
+
|
46
|
+
When /^I configure the application to use shoulda-matchers$/ do
|
47
|
+
append_to_gemfile "gem 'shoulda-matchers', :git => 'git@github.com:thoughtbot/shoulda-matchers.git'"
|
48
|
+
steps %{And I run "bundle install --local"}
|
49
|
+
end
|
50
|
+
|
51
|
+
When /^I configure a wildcard route$/ do
|
52
|
+
steps %{
|
53
|
+
When I write to "config/routes.rb" with:
|
54
|
+
"""
|
55
|
+
Rails.application.routes.draw do
|
56
|
+
match ':controller(/:action(/:id(.:format)))'
|
57
|
+
end
|
58
|
+
"""
|
59
|
+
}
|
60
|
+
end
|
61
|
+
|
62
|
+
module AppendHelpers
|
63
|
+
def append_to(path, contents)
|
64
|
+
in_current_dir do
|
65
|
+
File.open(path, "a") do |file|
|
66
|
+
file.puts
|
67
|
+
file.puts contents
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
def append_to_gemfile(contents)
|
73
|
+
append_to('Gemfile', contents)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
World(AppendHelpers)
|
data/lib/shoulda/version.rb
CHANGED
data/shoulda.gemspec
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
$LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
|
2
|
+
require 'shoulda/version'
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = 'shoulda'
|
6
|
+
s.version = Shoulda::VERSION
|
7
|
+
s.platform = Gem::Platform::RUBY
|
8
|
+
s.authors = ["Tammer Saleh", "Joe Ferris", "Ryan McGeary", "Dan Croak",
|
9
|
+
"Matt Jankowski"]
|
10
|
+
s.email = %q{support@thoughtbot.com}
|
11
|
+
s.homepage = %q{https://github.com/thoughtbot/shoulda}
|
12
|
+
s.summary = %q{Making tests easy on the fingers and eyes}
|
13
|
+
s.description = %q{Making tests easy on the fingers and eyes}
|
14
|
+
|
15
|
+
s.files = `git ls-files`.split("\n")
|
16
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
18
|
+
s.require_paths = ["lib"]
|
19
|
+
|
20
|
+
s.add_dependency("shoulda-context", "~> 1.0.0")
|
21
|
+
s.add_dependency("shoulda-matchers", "~> 1.0.0")
|
22
|
+
|
23
|
+
s.add_development_dependency("rails", "3.0.3")
|
24
|
+
s.add_development_dependency("sqlite3", "~> 1.3.2")
|
25
|
+
s.add_development_dependency("rspec-rails", "~> 2.3.1")
|
26
|
+
s.add_development_dependency("cucumber", "~> 0.10.0")
|
27
|
+
s.add_development_dependency("aruba", "~> 0.2.7")
|
28
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoulda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 5
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
|
11
|
-
version: 3.0.0.beta2
|
9
|
+
- 1
|
10
|
+
version: 3.0.1
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Tammer Saleh
|
@@ -20,70 +19,151 @@ autorequire:
|
|
20
19
|
bindir: bin
|
21
20
|
cert_chain: []
|
22
21
|
|
23
|
-
date:
|
22
|
+
date: 2012-03-01 00:00:00 -05:00
|
24
23
|
default_executable:
|
25
24
|
dependencies:
|
26
25
|
- !ruby/object:Gem::Dependency
|
27
|
-
type: :runtime
|
28
|
-
prerelease: false
|
29
26
|
name: shoulda-context
|
30
|
-
|
27
|
+
prerelease: false
|
28
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
31
29
|
none: false
|
32
30
|
requirements:
|
33
31
|
- - ~>
|
34
32
|
- !ruby/object:Gem::Version
|
35
|
-
hash:
|
33
|
+
hash: 23
|
36
34
|
segments:
|
37
35
|
- 1
|
38
36
|
- 0
|
39
37
|
- 0
|
40
|
-
|
41
|
-
|
42
|
-
|
38
|
+
version: 1.0.0
|
39
|
+
type: :runtime
|
40
|
+
version_requirements: *id001
|
43
41
|
- !ruby/object:Gem::Dependency
|
42
|
+
name: shoulda-matchers
|
43
|
+
prerelease: false
|
44
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
45
|
+
none: false
|
46
|
+
requirements:
|
47
|
+
- - ~>
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
hash: 23
|
50
|
+
segments:
|
51
|
+
- 1
|
52
|
+
- 0
|
53
|
+
- 0
|
54
|
+
version: 1.0.0
|
44
55
|
type: :runtime
|
56
|
+
version_requirements: *id002
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: rails
|
45
59
|
prerelease: false
|
46
|
-
|
47
|
-
|
60
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - "="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
hash: 1
|
66
|
+
segments:
|
67
|
+
- 3
|
68
|
+
- 0
|
69
|
+
- 3
|
70
|
+
version: 3.0.3
|
71
|
+
type: :development
|
72
|
+
version_requirements: *id003
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: sqlite3
|
75
|
+
prerelease: false
|
76
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
78
|
+
requirements:
|
79
|
+
- - ~>
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
hash: 31
|
82
|
+
segments:
|
83
|
+
- 1
|
84
|
+
- 3
|
85
|
+
- 2
|
86
|
+
version: 1.3.2
|
87
|
+
type: :development
|
88
|
+
version_requirements: *id004
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rspec-rails
|
91
|
+
prerelease: false
|
92
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
48
93
|
none: false
|
49
94
|
requirements:
|
50
95
|
- - ~>
|
51
96
|
- !ruby/object:Gem::Version
|
52
|
-
hash:
|
97
|
+
hash: 1
|
53
98
|
segments:
|
99
|
+
- 2
|
100
|
+
- 3
|
54
101
|
- 1
|
102
|
+
version: 2.3.1
|
103
|
+
type: :development
|
104
|
+
version_requirements: *id005
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: cucumber
|
107
|
+
prerelease: false
|
108
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ~>
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
hash: 55
|
114
|
+
segments:
|
55
115
|
- 0
|
116
|
+
- 10
|
56
117
|
- 0
|
57
|
-
|
58
|
-
|
59
|
-
|
118
|
+
version: 0.10.0
|
119
|
+
type: :development
|
120
|
+
version_requirements: *id006
|
121
|
+
- !ruby/object:Gem::Dependency
|
122
|
+
name: aruba
|
123
|
+
prerelease: false
|
124
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
125
|
+
none: false
|
126
|
+
requirements:
|
127
|
+
- - ~>
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
hash: 25
|
130
|
+
segments:
|
131
|
+
- 0
|
132
|
+
- 2
|
133
|
+
- 7
|
134
|
+
version: 0.2.7
|
135
|
+
type: :development
|
136
|
+
version_requirements: *id007
|
60
137
|
description: Making tests easy on the fingers and eyes
|
61
138
|
email: support@thoughtbot.com
|
62
139
|
executables: []
|
63
140
|
|
64
141
|
extensions: []
|
65
142
|
|
66
|
-
extra_rdoc_files:
|
67
|
-
|
68
|
-
- CONTRIBUTION_GUIDELINES.rdoc
|
143
|
+
extra_rdoc_files: []
|
144
|
+
|
69
145
|
files:
|
146
|
+
- .autotest
|
147
|
+
- .gitignore
|
148
|
+
- .travis.yml
|
70
149
|
- CONTRIBUTION_GUIDELINES.rdoc
|
71
150
|
- Gemfile
|
72
|
-
- Gemfile.lock
|
73
151
|
- MIT-LICENSE
|
74
|
-
- Rakefile
|
75
152
|
- README.md
|
76
|
-
-
|
153
|
+
- Rakefile
|
154
|
+
- features/rails_integration.feature
|
155
|
+
- features/step_definitions/rails_steps.rb
|
156
|
+
- features/support/env.rb
|
77
157
|
- lib/shoulda.rb
|
158
|
+
- lib/shoulda/version.rb
|
159
|
+
- shoulda.gemspec
|
78
160
|
has_rdoc: true
|
79
|
-
homepage:
|
161
|
+
homepage: https://github.com/thoughtbot/shoulda
|
80
162
|
licenses: []
|
81
163
|
|
82
164
|
post_install_message:
|
83
|
-
rdoc_options:
|
84
|
-
|
85
|
-
- --main
|
86
|
-
- README.md
|
165
|
+
rdoc_options: []
|
166
|
+
|
87
167
|
require_paths:
|
88
168
|
- lib
|
89
169
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -106,10 +186,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
186
|
version: "0"
|
107
187
|
requirements: []
|
108
188
|
|
109
|
-
rubyforge_project:
|
189
|
+
rubyforge_project:
|
110
190
|
rubygems_version: 1.3.7
|
111
191
|
signing_key:
|
112
192
|
specification_version: 3
|
113
193
|
summary: Making tests easy on the fingers and eyes
|
114
|
-
test_files:
|
115
|
-
|
194
|
+
test_files:
|
195
|
+
- features/rails_integration.feature
|
196
|
+
- features/step_definitions/rails_steps.rb
|
197
|
+
- features/support/env.rb
|
data/Gemfile.lock
DELETED
@@ -1,113 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
abstract (1.0.0)
|
5
|
-
actionmailer (3.0.3)
|
6
|
-
actionpack (= 3.0.3)
|
7
|
-
mail (~> 2.2.9)
|
8
|
-
actionpack (3.0.3)
|
9
|
-
activemodel (= 3.0.3)
|
10
|
-
activesupport (= 3.0.3)
|
11
|
-
builder (~> 2.1.2)
|
12
|
-
erubis (~> 2.6.6)
|
13
|
-
i18n (~> 0.4)
|
14
|
-
rack (~> 1.2.1)
|
15
|
-
rack-mount (~> 0.6.13)
|
16
|
-
rack-test (~> 0.5.6)
|
17
|
-
tzinfo (~> 0.3.23)
|
18
|
-
activemodel (3.0.3)
|
19
|
-
activesupport (= 3.0.3)
|
20
|
-
builder (~> 2.1.2)
|
21
|
-
i18n (~> 0.4)
|
22
|
-
activerecord (3.0.3)
|
23
|
-
activemodel (= 3.0.3)
|
24
|
-
activesupport (= 3.0.3)
|
25
|
-
arel (~> 2.0.2)
|
26
|
-
tzinfo (~> 0.3.23)
|
27
|
-
activeresource (3.0.3)
|
28
|
-
activemodel (= 3.0.3)
|
29
|
-
activesupport (= 3.0.3)
|
30
|
-
activesupport (3.0.3)
|
31
|
-
arel (2.0.6)
|
32
|
-
aruba (0.2.7)
|
33
|
-
background_process
|
34
|
-
cucumber (~> 0.10.0)
|
35
|
-
background_process (1.2)
|
36
|
-
builder (2.1.2)
|
37
|
-
columnize (0.3.2)
|
38
|
-
cucumber (0.10.0)
|
39
|
-
builder (>= 2.1.2)
|
40
|
-
diff-lcs (~> 1.1.2)
|
41
|
-
gherkin (~> 2.3.2)
|
42
|
-
json (~> 1.4.6)
|
43
|
-
term-ansicolor (~> 1.0.5)
|
44
|
-
diff-lcs (1.1.2)
|
45
|
-
erubis (2.6.6)
|
46
|
-
abstract (>= 1.0.0)
|
47
|
-
gherkin (2.3.2)
|
48
|
-
json (~> 1.4.6)
|
49
|
-
term-ansicolor (~> 1.0.5)
|
50
|
-
i18n (0.5.0)
|
51
|
-
json (1.4.6)
|
52
|
-
linecache (0.43)
|
53
|
-
mail (2.2.12)
|
54
|
-
activesupport (>= 2.3.6)
|
55
|
-
i18n (>= 0.4.0)
|
56
|
-
mime-types (~> 1.16)
|
57
|
-
treetop (~> 1.4.8)
|
58
|
-
mime-types (1.16)
|
59
|
-
polyglot (0.3.1)
|
60
|
-
rack (1.2.1)
|
61
|
-
rack-mount (0.6.13)
|
62
|
-
rack (>= 1.0.0)
|
63
|
-
rack-test (0.5.6)
|
64
|
-
rack (>= 1.0)
|
65
|
-
rails (3.0.3)
|
66
|
-
actionmailer (= 3.0.3)
|
67
|
-
actionpack (= 3.0.3)
|
68
|
-
activerecord (= 3.0.3)
|
69
|
-
activeresource (= 3.0.3)
|
70
|
-
activesupport (= 3.0.3)
|
71
|
-
bundler (~> 1.0)
|
72
|
-
railties (= 3.0.3)
|
73
|
-
railties (3.0.3)
|
74
|
-
actionpack (= 3.0.3)
|
75
|
-
activesupport (= 3.0.3)
|
76
|
-
rake (>= 0.8.7)
|
77
|
-
thor (~> 0.14.4)
|
78
|
-
rake (0.8.7)
|
79
|
-
rspec (2.3.0)
|
80
|
-
rspec-core (~> 2.3.0)
|
81
|
-
rspec-expectations (~> 2.3.0)
|
82
|
-
rspec-mocks (~> 2.3.0)
|
83
|
-
rspec-core (2.3.1)
|
84
|
-
rspec-expectations (2.3.0)
|
85
|
-
diff-lcs (~> 1.1.2)
|
86
|
-
rspec-mocks (2.3.0)
|
87
|
-
rspec-rails (2.3.1)
|
88
|
-
actionpack (~> 3.0)
|
89
|
-
activesupport (~> 3.0)
|
90
|
-
railties (~> 3.0)
|
91
|
-
rspec (~> 2.3.0)
|
92
|
-
ruby-debug (0.10.4)
|
93
|
-
columnize (>= 0.1)
|
94
|
-
ruby-debug-base (~> 0.10.4.0)
|
95
|
-
ruby-debug-base (0.10.4)
|
96
|
-
linecache (>= 0.3)
|
97
|
-
sqlite3-ruby (1.3.2)
|
98
|
-
term-ansicolor (1.0.5)
|
99
|
-
thor (0.14.6)
|
100
|
-
treetop (1.4.9)
|
101
|
-
polyglot (>= 0.3.1)
|
102
|
-
tzinfo (0.3.23)
|
103
|
-
|
104
|
-
PLATFORMS
|
105
|
-
ruby
|
106
|
-
|
107
|
-
DEPENDENCIES
|
108
|
-
aruba
|
109
|
-
cucumber
|
110
|
-
rails (= 3.0.3)
|
111
|
-
rspec-rails (~> 2.3.1)
|
112
|
-
ruby-debug
|
113
|
-
sqlite3-ruby
|