Sha256: 8be59e83cc7e0afcc53223a73f2487b8164d46ff85fd07c0222ff0d342cbc04d

Contents?: true

Size: 389 Bytes

Versions: 39

Compression:

Stored size: 389 Bytes

Contents

require 'spec_helper'

describe "account_trial" do
  let!(:client) { create_client }

  context "with an account", :mock_only do
    let!(:account) { create_account(client: client) }

    it "has trial data" do
      trial = account.account_trial

      expect(trial.duration).to eq(500)
      expect(trial.used).to     eq(30)
      expect(trial.account).to  eq(account)
    end
  end
end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
ey-core-3.6.0.autoscaling1 spec/account_trial_spec.rb
ey-core-3.6.4 spec/account_trial_spec.rb
ey-core-3.6.3 spec/account_trial_spec.rb
ey-core-3.6.1 spec/account_trial_spec.rb
groove-ey-core-3.6.3 spec/account_trial_spec.rb
groove-ey-core-3.6.2 spec/account_trial_spec.rb
groove-ey-core-3.6.1 spec/account_trial_spec.rb
ey-core-3.5.0 spec/account_trial_spec.rb
ey-core-3.4.4 spec/account_trial_spec.rb
ey-core-3.4.2 spec/account_trial_spec.rb
ey-core-3.4.1 spec/account_trial_spec.rb
ey-core-3.4.0 spec/account_trial_spec.rb
ey-core-3.3.1 spec/account_trial_spec.rb
ey-core-3.3.0 spec/account_trial_spec.rb
ey-core-3.2.6 spec/account_trial_spec.rb
ey-core-3.2.5 spec/account_trial_spec.rb
ey-core-3.2.4 spec/account_trial_spec.rb
ey-core-3.2.3 spec/account_trial_spec.rb
ey-core-3.2.2 spec/account_trial_spec.rb
ey-core-3.2.1 spec/account_trial_spec.rb