Sha256: c1446843dbc134beb011953ace50f5de4b1d66696dfe9791894ab40f1ead762c
Contents?: true
Size: 484 Bytes
Versions: 10
Compression:
Stored size: 484 Bytes
Contents
require_relative '../../spec_helper' describe Cranium::DSL::DatabaseDefinition do let(:database) { Cranium::DSL::DatabaseDefinition.new "name" } describe "#name" do it "should return the name of the database definition" do expect(database.name).to eq("name") end end describe "#connect_to" do it "should set the attribute to the specified value" do database.connect_to "value" expect(database.connect_to).to eq("value") end end end
Version data entries
10 entries across 10 versions & 1 rubygems