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