Sha256: bf6c761d139a739eff3b8945d550cd8252ec21e630b6875f1f860b834303a9a8
Contents?: true
Size: 871 Bytes
Versions: 2
Compression:
Stored size: 871 Bytes
Contents
require 'turntables/repository' include Turntables describe Repository do before :each do @repo = Repository.new end it "#new should return Repository Object" do @repo.should be_instance_of Repository end it "Should have a method called register" do @repo.should respond_to(:register) end it "Should have a method called make!" do @repo.should respond_to(:make!) end it "Should have an attribute called sequential_dir" do @repo.should respond_to(:sequential_dir) end it "Should have an attribute called monolithic_dir" do @repo.should respond_to(:monolithic_dir) end it "Should have an attribute called relative_dir" do @repo.should respond_to(:relative_dir) end it "should have the transactions in a sorted order (smallest to biggest)" do @repo.register("data/sql-just-sequential") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
turntables-1.0.3 | spec/repository_spec.rb |
turntables-1.0.1 | spec/repository_spec.rb |