riot_rails 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/riot/active_record/assertion_macros.rb +1 -1
- data/riot_rails.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
@@ -64,7 +64,7 @@ module Riot
|
|
64
64
|
else
|
65
65
|
copied_model = actual_record.class.new
|
66
66
|
actual_record.attributes.each do |dup_attribute, dup_value|
|
67
|
-
|
67
|
+
copied_model.write_attribute(dup_attribute, dup_value)
|
68
68
|
end
|
69
69
|
copied_value = actual_record.read_attribute(attribute)
|
70
70
|
msg = "expected to fail because #{attribute.inspect} is not unique"
|
data/riot_rails.gemspec
CHANGED