Sha256: 3f8cb187449f804b2a58ecadee70a293f0d0cf2eef8b1961990d15087ebb0ed0

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

require 'spec_helper'

describe EbisuConnection do
  context "access to slave" do
    it "select from User is to access to slave" do
      expect(User.first.name).to be_include("slave")
    end
  end

  context "access to master" do
    it "specify readonly(false)" do
      expect(User.readonly(false).first.name).to be_include("master")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ebisu_connection-0.2.0 spec/unit/ebisu_connection_spec.rb
ebisu_connection-0.1.1 spec/unit/ebisu_connection_spec.rb