Sha256: 299b143d061b7a288634aba18b7c7a823cc18d1c3de0612b6e9c5480d2aeee7b
Contents?: true
Size: 786 Bytes
Versions: 6
Compression:
Stored size: 786 Bytes
Contents
require 'spec_helper' require 'database_cleaner/sequel/base' require 'database_cleaner/shared_strategy' require 'sequel' module DatabaseCleaner describe Sequel do it { should respond_to(:available_strategies) } end module Sequel class ExampleStrategy include ::DatabaseCleaner::Sequel::Base end describe ExampleStrategy do it_should_behave_like "a generic strategy" it { should respond_to(:db) } it { should respond_to(:db=) } it "should store my desired db" do subject.db = :my_db subject.db.should == :my_db end it "should default to :default" do pending "I figure out how to use Sequel and write some real tests for it..." subject.db.should == :default end end end end
Version data entries
6 entries across 6 versions & 2 rubygems