* Fixed/added specs for different account types.
[merb_mart.git] / spec / models / order_status_code_spec.rb
blobae332a1dd579196a6dacb4c5468f0378b8e0828c
1 require File.join( File.dirname(__FILE__), "..", "spec_helper" )
3 describe OrderStatusCode do
5   describe "associations" do
6     it "should have orders"
7   end
8   
9   it "should know if it the order can be edited or not, based on 
10   status code" do
11     osc = OrderStatusCode.new(id => 1)
12     osc.is_editable?.should == false
13     osc2 = OrderStatusCode.new(id => 6)
14     osc2.is_editable?.should == true
15   end
17 end