$KCODE = 'U'
describe 'Bowl20110904', 'arc dl9588' do
- subject { Bowl20110904.new('dl9588') }
- before do
- subject.load
- end
+ subject { Bowl20110904.load('dl9588') }
its "code" do
should == 'dl9588'
end
end
describe 'Bowl20110904', 'arc dl9587' do
- subject { Bowl20110904.new('dl9587') }
- before do
- subject.load
- end
+ subject { Bowl20110904.load('dl9587') }
it "should be locked" do
should be_locked
end
end
describe 'Bowl20110904', 'arc dl671' do
- subject { Bowl20110904.new('dl671') }
- before do
- subject.load
- end
+ subject { Bowl20110904.load('dl671') }
its "code" do
should == 'dl671'
end
end
describe 'Bowl', 'arc dl140' do
- subject { Bowl.new('dl140') }
- before do
- subject.load
- end
+ subject { Bowl.load('dl140') }
it "should be removed" do
should be_removed
end
end
describe 'Bowl', 'arc dl391' do
- subject { Bowl.new('dl391') }
- before do
- subject.load
- end
+ subject { Bowl.load('dl391') }
it "should not be removed" do
should_not be_removed
end
end
describe 'Bowl', 'arc dl392' do
- subject { Bowl.new('dl392') }
- before do
- subject.load
- end
+ subject { Bowl.load('dl392') }
it "should not be removed" do
should_not be_removed
end