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.6.0 spec/lib/flexirest_spec.rb
flexirest-1.5.9 spec/lib/flexirest_spec.rb
flexirest-1.5.8 spec/lib/flexirest_spec.rb
flexirest-1.5.7 spec/lib/flexirest_spec.rb
flexirest-1.5.6 spec/lib/flexirest_spec.rb
flexirest-1.5.5 spec/lib/flexirest_spec.rb
flexirest-1.5.4 spec/lib/flexirest_spec.rb
flexirest-1.5.3 spec/lib/flexirest_spec.rb
flexirest-1.5.2 spec/lib/flexirest_spec.rb
flexirest-1.5.1 spec/lib/flexirest_spec.rb
flexirest-1.5.0 spec/lib/flexirest_spec.rb
flexirest-1.4.9 spec/lib/flexirest_spec.rb
flexirest-1.4.8 spec/lib/flexirest_spec.rb
flexirest-1.4.7 spec/lib/flexirest_spec.rb
flexirest-1.4.6 spec/lib/flexirest_spec.rb
flexirest-1.4.5 spec/lib/flexirest_spec.rb
flexirest-1.4.4 spec/lib/flexirest_spec.rb
flexirest-1.4.3 spec/lib/flexirest_spec.rb
flexirest-1.4.2 spec/lib/flexirest_spec.rb
flexirest-1.4.1 spec/lib/flexirest_spec.rb