datamapper / do

DataObjects
147 stars 74 forks source link

Port data_objects tests to rspec3 #71

Closed jasperla closed 9 years ago

jasperla commented 9 years ago

This let's the tests pass with rspec3. Some warnings:

Deprecation Warnings:

Using `should_receive` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecate
d. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /usr/obj/ports/data_objects-0
.10.14-ruby21/data_objects-0.10.14/spec/transaction_spec.rb:7:in `block (2 levels) in <top (required)>'.

Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated
. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /usr/obj/ports/data_objects-0.
10.14-ruby21/data_objects-0.10.14/spec/command_spec.rb:15:in `block (3 levels) in <top (required)>'.

Untested with rspec2, nor has the dependency in the Gemfile been bumped.

jasperla commented 9 years ago

Nevermind, it's wholly incomplete

postmodern commented 9 years ago

@jasperla use transpec