OSDN Git Service
(root)
/
mint
/
mint-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aecd07
)
remove useless examples
author
okimoto
<okimoto@good-day.co.jp>
Tue, 9 Mar 2010 07:08:57 +0000
(16:08 +0900)
committer
okimoto
<okimoto@good-day.co.jp>
Tue, 9 Mar 2010 07:08:57 +0000
(16:08 +0900)
spec/models/ordinary_arithmetic_edit_form_spec.rb
patch
|
blob
|
history
diff --git
a/spec/models/ordinary_arithmetic_edit_form_spec.rb
b/spec/models/ordinary_arithmetic_edit_form_spec.rb
index
f5d0bed
..
c15f3dc
100644
(file)
--- a/
spec/models/ordinary_arithmetic_edit_form_spec.rb
+++ b/
spec/models/ordinary_arithmetic_edit_form_spec.rb
@@
-99,14
+99,6
@@
describe OrdinaryArithmeticEditForm do
}
it{ should be_valid }
end
- context "min = max = nil, empty" do
- subject{
- @basic.min = nil
- @basic.max = ""
- @basic
- }
- it{ should_not be_valid }
- end
end
context "operators" do
@@
-134,19
+126,6
@@
describe OrdinaryArithmeticEditForm do
}
end
- context "attributes_for_model" do
- subject{ @basic.attributes_for_model }
- it{
- should == {
- :unit_id => 1,
- :level => 1,
- :amount => 2,
- :options => @basic.options_hash.to_json,
- :lock_version => 0
- }
- }
- end
-
context "set_options" do
context "basic" do
subject{