Skip to content

Commit

Permalink
remove rspec depreciation and update Gemfile.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
garrensmith committed Jun 28, 2011
1 parent 642119e commit cccb0a1
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 65 deletions.
125 changes: 62 additions & 63 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,76 +1,75 @@
GEM
remote: http://rubygems.org/
specs:
addressable (2.2.2)
data_mapper (1.0.2)
dm-aggregates (= 1.0.2)
dm-constraints (= 1.0.2)
dm-core (= 1.0.2)
dm-migrations (= 1.0.2)
dm-serializer (= 1.0.2)
dm-timestamps (= 1.0.2)
dm-transactions (= 1.0.2)
dm-types (= 1.0.2)
dm-validations (= 1.0.2)
data_objects (0.10.2)
addressable (2.2.6)
bcrypt-ruby (2.1.4)
data_mapper (1.1.0)
dm-aggregates (= 1.1.0)
dm-constraints (= 1.1.0)
dm-core (= 1.1.0)
dm-migrations (= 1.1.0)
dm-serializer (= 1.1.0)
dm-timestamps (= 1.1.0)
dm-transactions (= 1.1.0)
dm-types (= 1.1.0)
dm-validations (= 1.1.0)
data_objects (0.10.6)
addressable (~> 2.1)
diff-lcs (1.1.2)
dm-aggregates (1.0.2)
dm-core (~> 1.0.2)
dm-constraints (1.0.2)
dm-core (~> 1.0.2)
dm-migrations (~> 1.0.2)
dm-core (1.0.2)
addressable (~> 2.2)
extlib (~> 0.9.15)
dm-do-adapter (1.0.2)
dm-aggregates (1.1.0)
dm-core (~> 1.1.0)
dm-constraints (1.1.0)
dm-core (~> 1.1.0)
dm-core (1.1.0)
addressable (~> 2.2.4)
dm-do-adapter (1.1.0)
data_objects (~> 0.10.2)
dm-core (~> 1.0.2)
dm-migrations (1.0.2)
dm-core (~> 1.0.2)
dm-serializer (1.0.2)
dm-core (~> 1.0.2)
fastercsv (~> 1.5.3)
json_pure (~> 1.4)
dm-sqlite-adapter (1.0.2)
dm-do-adapter (~> 1.0.2)
dm-core (~> 1.1.0)
dm-migrations (1.1.0)
dm-core (~> 1.1.0)
dm-serializer (1.1.0)
dm-core (~> 1.1.0)
fastercsv (~> 1.5.4)
json (~> 1.4.6)
dm-sqlite-adapter (1.1.0)
dm-do-adapter (~> 1.1.0)
do_sqlite3 (~> 0.10.2)
dm-timestamps (1.0.2)
dm-core (~> 1.0.2)
dm-transactions (1.0.2)
dm-core (~> 1.0.2)
dm-types (1.0.2)
dm-core (~> 1.0.2)
fastercsv (~> 1.5.3)
json_pure (~> 1.4)
stringex (~> 1.1.0)
uuidtools (~> 2.1.1)
dm-validations (1.0.2)
dm-core (~> 1.0.2)
do_sqlite3 (0.10.2)
data_objects (= 0.10.2)
extlib (0.9.15)
fastercsv (1.5.3)
haml (3.0.24)
json_pure (1.4.6)
rack (1.2.1)
rack-test (0.5.6)
dm-timestamps (1.1.0)
dm-core (~> 1.1.0)
dm-transactions (1.1.0)
dm-core (~> 1.1.0)
dm-types (1.1.0)
bcrypt-ruby (~> 2.1.4)
dm-core (~> 1.1.0)
fastercsv (~> 1.5.4)
json (~> 1.4.6)
stringex (~> 1.2.0)
uuidtools (~> 2.1.2)
dm-validations (1.1.0)
dm-core (~> 1.1.0)
do_sqlite3 (0.10.6)
data_objects (= 0.10.6)
fastercsv (1.5.4)
haml (3.1.2)
json (1.4.6)
rack (1.3.0)
rack-test (0.6.0)
rack (>= 1.0)
rake (0.8.7)
rspec (2.1.0)
rspec-core (~> 2.1.0)
rspec-expectations (~> 2.1.0)
rspec-mocks (~> 2.1.0)
rspec-core (2.1.0)
rspec-expectations (2.1.0)
rake (0.9.2)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
rspec-mocks (~> 2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.1.0)
sinatra (1.1.0)
rspec-mocks (2.6.0)
sinatra (1.2.6)
rack (~> 1.1)
tilt (~> 1.1)
stringex (1.1.0)
tilt (1.1)
uuidtools (2.1.1)
tilt (< 2.0, >= 1.2.2)
stringex (1.2.1)
tilt (1.3.2)
uuidtools (2.1.2)

PLATFORMS
ruby
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if !defined?(RSpec)
else
desc "Run all examples"
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = 'spec/**/*.rb'
#t.pattern = 'spec/**/*_spec.rb' # not needed this is default
t.rspec_opts = ['-cfs']
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# establish in-memory database for testing
DataMapper.setup(:default, "sqlite3::memory:")

Rspec.configure do |config|
RSpec.configure do |config|
# reset database before each example is run
config.before(:each) { DataMapper.auto_migrate! }
end

0 comments on commit cccb0a1

Please sign in to comment.