Sha256: a1d847faaa571a4177c65477fd5b543ebecefa286a83075e8adda094b211865c

Contents?: true

Size: 411 Bytes

Versions: 114

Compression:

Stored size: 411 Bytes

Contents

require 'spec_helper'

describe Flexirest do

  after(:each) do
    # Reload Module after each test to ensure name variable is reset to default
    load 'flexirest.rb'
  end

  it "should be named Flexirest" do
    expect(Flexirest.name).to eq('Flexirest')
  end

  it "should allow setting to something else" do
    Flexirest.name = 'SomethingElse'
    expect(Flexirest.name).to eq('SomethingElse')
  end

end

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
flexirest-1.12.4 spec/lib/flexirest_spec.rb
flexirest-1.12.3 spec/lib/flexirest_spec.rb
flexirest-1.12.2 spec/lib/flexirest_spec.rb
flexirest-1.12.1 spec/lib/flexirest_spec.rb
flexirest-1.12.0 spec/lib/flexirest_spec.rb
flexirest-1.11.3 spec/lib/flexirest_spec.rb
flexirest-1.11.2 spec/lib/flexirest_spec.rb
flexirest-1.11.1 spec/lib/flexirest_spec.rb
flexirest-1.11.0 spec/lib/flexirest_spec.rb
flexirest-1.10.12 spec/lib/flexirest_spec.rb
flexirest-1.10.11 spec/lib/flexirest_spec.rb
flexirest-1.10.10 spec/lib/flexirest_spec.rb
flexirest-1.10.9 spec/lib/flexirest_spec.rb
flexirest-1.10.8 spec/lib/flexirest_spec.rb
flexirest-1.10.7 spec/lib/flexirest_spec.rb
flexirest-1.10.6 spec/lib/flexirest_spec.rb
flexirest-1.10.5 spec/lib/flexirest_spec.rb
flexirest-1.10.4 spec/lib/flexirest_spec.rb
flexirest-1.10.3 spec/lib/flexirest_spec.rb
flexirest-1.10.2 spec/lib/flexirest_spec.rb