Sha256: 010d95a495bb691f14bb25327990a0c34afcf1ba0e81b833b164f1a97d7f88fe
Contents?: true
Size: 799 Bytes
Versions: 2
Compression:
Stored size: 799 Bytes
Contents
require 'spec_helper' describe Charger::Component do subject { Charger::Component.new } describe 'attributes' do it { should respond_to :id } it { should respond_to :name } it { should respond_to :unit_name } it { should respond_to :unit_price } it { should respond_to :pricing_scheme } it { should respond_to :prices } it { should respond_to :product_family_id } it { should respond_to :kind } it { should respond_to :archived } end describe '#total_for' do it { should respond_to :total_for} end describe '.find_by_product_family_id' do subject { Charger::Component } it { should respond_to :find_by_product_family_id } end describe '.find' do subject { Charger::Component } it { should respond_to :find } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
charger-0.2.0 | spec/charger/component_spec.rb |
charger-0.1.1 | spec/charger/component_spec.rb |