Sha256: b9a03e6e63a92a8f6e9830f947f629a08a42560670c06655e327d61394a4bee9
Contents?: true
Size: 791 Bytes
Versions: 17
Compression:
Stored size: 791 Bytes
Contents
require 'spec_helper' require 'database_cleaner/sequel/base' require 'database_cleaner/shared_strategy_spec' 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
17 entries across 11 versions & 4 rubygems