summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-03 08:55:49 +0100
committerAzul <azul@leap.se>2012-12-03 08:55:49 +0100
commit0b23df922336289b6f8062653b4d3e852ed927ec (patch)
treed0bc74c55ffa8b0ee6509df1798756585402cc4b /users
parent277b9f98bfbe2ef0217dfd17c8d9d6597369b903 (diff)
make tests pass on an empty db
Diffstat (limited to 'users')
-rw-r--r--users/test/support/stub_record_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/test/support/stub_record_helper.rb b/users/test/support/stub_record_helper.rb
index e744ad7..ede21cf 100644
--- a/users/test/support/stub_record_helper.rb
+++ b/users/test/support/stub_record_helper.rb
@@ -7,7 +7,7 @@ module StubRecordHelper
params.reverse_merge!(klass.valid_attributes_hash)
end
params[:params] = params.stringify_keys
- params.reverse_merge! :id => 123,
+ params.reverse_merge! :id => "A123",
:class => klass,
:to_key => ['123'],
:to_json => %Q({"stub":"#{klass.name}"}),