1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-04-04 05:33:22 -04:00
BikeShed-1/spec/support/api_test_helpers.rb
2014-03-09 22:48:35 -04:00

6 lines
143 B
Ruby

module ApiTestHelpers
def api_submit_json(user, json_hash)
json_hash.merge({username: user.username, password: user.password})
end
end