Skip to content

Commit

Permalink
Updated tests to use rspec 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
beerlington committed Oct 17, 2010
1 parent 8ab9769 commit d494893
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -19,3 +19,4 @@ rdoc
pkg

## PROJECT::SPECIFIC
.bundle/*
10 changes: 10 additions & 0 deletions Gemfile
@@ -0,0 +1,10 @@
source :rubygems

gem 'rails', '~> 3.0'

group :text do
gem 'rspec', '~> 2.0'
gem 'rspec-rails', '~> 2.0'
gem 'formtastic', '~> 1.1'
gem 'sqlite3-ruby', :require => 'sqlite3'
end
93 changes: 93 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,93 @@
GEM
remote: http://rubygems.org/
specs:
abstract (1.0.0)
actionmailer (3.0.1)
actionpack (= 3.0.1)
mail (~> 2.2.5)
actionpack (3.0.1)
activemodel (= 3.0.1)
activesupport (= 3.0.1)
builder (~> 2.1.2)
erubis (~> 2.6.6)
i18n (~> 0.4.1)
rack (~> 1.2.1)
rack-mount (~> 0.6.12)
rack-test (~> 0.5.4)
tzinfo (~> 0.3.23)
activemodel (3.0.1)
activesupport (= 3.0.1)
builder (~> 2.1.2)
i18n (~> 0.4.1)
activerecord (3.0.1)
activemodel (= 3.0.1)
activesupport (= 3.0.1)
arel (~> 1.0.0)
tzinfo (~> 0.3.23)
activeresource (3.0.1)
activemodel (= 3.0.1)
activesupport (= 3.0.1)
activesupport (3.0.1)
arel (1.0.1)
activesupport (~> 3.0.0)
builder (2.1.2)
diff-lcs (1.1.2)
erubis (2.6.6)
abstract (>= 1.0.0)
formtastic (1.1.0)
actionpack (>= 2.3.0)
activesupport (>= 2.3.0)
i18n (>= 0.4.0)
i18n (0.4.1)
mail (2.2.7)
activesupport (>= 2.3.6)
mime-types
treetop (>= 1.4.5)
mime-types (1.16)
polyglot (0.3.1)
rack (1.2.1)
rack-mount (0.6.13)
rack (>= 1.0.0)
rack-test (0.5.6)
rack (>= 1.0)
rails (3.0.1)
actionmailer (= 3.0.1)
actionpack (= 3.0.1)
activerecord (= 3.0.1)
activeresource (= 3.0.1)
activesupport (= 3.0.1)
bundler (~> 1.0.0)
railties (= 3.0.1)
railties (3.0.1)
actionpack (= 3.0.1)
activesupport (= 3.0.1)
rake (>= 0.8.4)
thor (~> 0.14.0)
rake (0.8.7)
rspec (2.0.0)
rspec-core (= 2.0.0)
rspec-expectations (= 2.0.0)
rspec-mocks (= 2.0.0)
rspec-core (2.0.0)
rspec-expectations (2.0.0)
diff-lcs (>= 1.1.2)
rspec-mocks (2.0.0)
rspec-core (= 2.0.0)
rspec-expectations (= 2.0.0)
rspec-rails (2.0.1)
rspec (~> 2.0.0)
sqlite3-ruby (1.3.1)
thor (0.14.3)
treetop (1.4.8)
polyglot (>= 0.3.1)
tzinfo (0.3.23)

PLATFORMS
ruby

DEPENDENCIES
formtastic (~> 1.1)
rails (~> 3.0)
rspec (~> 2.0)
rspec-rails (~> 2.0)
sqlite3-ruby
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -10,8 +10,8 @@ begin
gem.email = "github@lette.us"
gem.homepage = "http://github.com/beerlington/classy_enum"
gem.authors = ["Peter Brown"]
gem.add_development_dependency "rspec", ">= 1.2.9"
gem.add_dependency "activerecord", ">= 2.3"
gem.add_development_dependency "rspec", "~> 2.0"
gem.add_dependency "activerecord", "~> 3.0"
end
Jeweler::GemcutterTasks.new
rescue LoadError
Expand Down
1 change: 0 additions & 1 deletion spec/spec.opts

This file was deleted.

8 changes: 4 additions & 4 deletions spec/spec_helper.rb
Expand Up @@ -2,10 +2,10 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'rubygems'
require 'spec'

require 'activerecord'
require 'actionpack'
require 'active_record'
require 'active_support'
require 'action_pack'
require 'action_view'
require 'action_controller'
require 'formtastic'
require 'classy_enum'
Expand Down

0 comments on commit d494893

Please sign in to comment.