Sha256: f2a0b529d7771b21c4d43f8be4b577712a453bc0072383e9b9258c274905b5d5
Contents?: true
Size: 562 Bytes
Versions: 10
Compression:
Stored size: 562 Bytes
Contents
require 'spec_helper' class Bitstamp::Coin < Bitstamp::Model;end class Bitstamp::Coins < Bitstamp::Collection;end describe Bitstamp::Coins do let(:kojns) { Bitstamp::Coins.new } it 'should have a name representing the class his name but not modules' do kojns.name.should eq 'coin' end it 'module should reflect a singular form' do kojns.module.should eq "bitstamp/coin" end it 'should have a model' do kojns.model.should be Bitstamp::Coin end it 'should have an api end point' do kojns.path.should eq "/api/coins" end end
Version data entries
10 entries across 10 versions & 1 rubygems