Sha256: e1f2af92c29a1cb174dde7a8344d69916264831134736c3c00a570f238baf521

Contents?: true

Size: 349 Bytes

Versions: 3

Compression:

Stored size: 349 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'fakeweb'
require 'mongohq-client'

FakeWeb.allow_net_connect = false

shared_examples "attribute" do |attr, expected|
  it "should return #{attr} attribute" do
    subject.send(attr).should eq(expected)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongohq-client-0.0.4 spec/spec_helper.rb
mongohq-client-0.0.3 spec/spec_helper.rb
mongohq-client-0.0.2 spec/spec_helper.rb