Sha256: 418ed0ca05f8cce307d0a12362ccf65e5c325603f16d39f797c4ad27e72c1958

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

require 'spec_helper'

describe "Rails configuration" do
  it "should be configuration through rails" do
    Rails.application.config.cashier.adapter = :redis_store

    Cashier.adapter.should == Cashier::Adapters::RedisStore 
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
cashier-ftbpro-0.5.0 spec/integration/rails_configuration_spec.rb
cashier-0.4.1 spec/integration/rails_configuration_spec.rb