spec/pump_spec.rb in wyrm-0.3.1 vs spec/pump_spec.rb in wyrm-0.3.2
- old
+ new
@@ -1,20 +1,20 @@
-require 'rspec'
+require 'rspec_syntax'
require Pathname(__dir__) + '../lib/wyrm/pump.rb'
include Wyrm
describe Pump do
describe '.quacks_like' do
it 'recognises method' do
threequal = Pump.quacks_like( :tap )
- (threequal === Object.new).should be_true
+ (threequal === Object.new).should == true
end
it 'recognises two methods' do
threequal = Pump.quacks_like( :tap, :instance_eval )
- (threequal === Object.new).should be_true
+ (threequal === Object.new).should == true
end
end
describe '#table_name=' do
it 'invalidates caches' do