Sha256: 5cd592cf5668ff4376668c4857c6c403d9db706ba7ab075d6b0fe19249722f50
Contents?: true
Size: 454 Bytes
Versions: 10
Compression:
Stored size: 454 Bytes
Contents
require_relative '../spec_helper' describe Ravelry::Craft do before do @craft = Ravelry::Craft.new(craft) @data = craft end it 'creates an instance of Craft' do expect(@craft).to be_instance_of(Ravelry::Craft) end context 'has and sets reader attributes for' do it 'name' do expect(@craft.name).to eq(@data[:name]) end it 'permalink' do expect(@craft.permalink).to eq(@data[:permalink]) end end end
Version data entries
10 entries across 10 versions & 1 rubygems