Sha256: 860acd926694fe697a0a60906ca146bf600a3b1c59ec563262f3e9fc8ec591b0

Contents?: true

Size: 294 Bytes

Versions: 11

Compression:

Stored size: 294 Bytes

Contents

require_relative './spec_helper'

describe "Account Details" do
  context "when user is unauthenticated" do
    before(:all) do
      api = unauthenticated_api()
      @res = api.account_type(34)
    end

    it_behaves_like "200 OK"
    specify { expect(@res.title).to eq("Staff") }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
vzaar-1.6.2 examples/account_details_spec.rb
vzaar-1.6.1 examples/account_details_spec.rb
vzaar-1.6.0 examples/account_details_spec.rb
vzaar-1.5.3 examples/account_details_spec.rb
vzaar-1.5.2 examples/account_details_spec.rb
vzaar-1.5.1 examples/account_details_spec.rb
vzaar-1.5.0 examples/account_details_spec.rb
vzaar-1.4.4 examples/account_details_spec.rb
vzaar-1.4.1 examples/account_details_spec.rb
vzaar-1.3.1 examples/account_details_spec.rb
vzaar-1.3.0 examples/account_details_spec.rb