spec/schema_tools_spec.rb in wyrm-0.3.1 vs spec/schema_tools_spec.rb in wyrm-0.3.2
- old
+ new
@@ -1,6 +1,6 @@
-require 'rspec'
+require 'rspec_syntax'
require 'sequel'
require 'sqlite3'
require Pathname(__dir__) + '../lib/wyrm/schema_tools.rb'
require Pathname(__dir__) + '../lib/wyrm/logger.rb'
@@ -40,14 +40,14 @@
src_dst src_db: nil
end
describe '#same_db' do
it 'for same db' do
- src_dst.same_db.should be_true
+ src_dst.same_db.should == true
end
it 'for different db' do
- src_dst( dst_db: Sequel.postgres ).same_db.should be_false
+ src_dst( dst_db: Sequel.postgres ).same_db.should == false
end
end
describe 'src_db dependencies' do
describe '#schema_migration' do