Sha256: 3342791071a68c646248cffcfb85e6f6bd93b4ceb1ab99c3bdf0795b0c6457c1

Contents?: true

Size: 507 Bytes

Versions: 1

Compression:

Stored size: 507 Bytes

Contents

require "spec_helper"

describe "Smooth Configuration" do
  it "should be accessible from the module level" do
    expect(Smooth.config.class).to equal(Smooth::Configuration)
  end

  it "should give me the various base classes for smooth objects" do
    expect(Smooth.config.query_class).to equal(Smooth::Query)
    expect(Smooth.config.command_class).to equal(Smooth::Command)
  end

  it "should enable event tracking by default" do
    expect(Smooth.config.enable_event_tracking?).to eq(true)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smooth-2.0.1 spec/lib/smooth/configuration_spec.rb