# Gems needed for running tests
group :test do
- gem "rubocop"
- gem "timecop"
gem "minitest", "~> 5.1", :platforms => [:ruby_19, :ruby_20]
+ gem "minitest-stub_any_instance"
+ gem "rubocop"
+ gem "timecop"
+ gem "webmock"
end
# Needed in development as well so rake can see konacha tasks
mime-types-data (3.2016.0521)
mimemagic (0.3.0)
mini_portile2 (2.1.0)
- minitest (5.9.1)
+ minitest (5.10.1)
+ minitest-stub_any_instance (1.0.1)
multi_json (1.12.1)
- multi_xml (0.5.5)
+ multi_xml (0.6.0)
multipart-post (2.0.0)
- nokogiri (1.6.8.1)
+ nokogiri (1.7.0.1)
mini_portile2 (~> 2.1.0)
- nokogumbo (1.4.9)
+ nokogumbo (1.4.10)
nokogiri
oauth (0.4.7)
oauth-plugin (0.5.1)
require "test_helper"
class OAuthTest < ActionDispatch::IntegrationTest
- fixtures :users, :gpx_files
- set_fixture_class :gpx_files => Trace
- fixtures :users, :client_applications
++ fixtures :users
include OAuth::Helper
fixtures :relations
set_fixture_class :relations => OldRelation
- fixtures :relation_members, :relation_tags
+ fixtures :relation_members
set_fixture_class :relation_members => OldRelationMember
- set_fixture_class :relation_tags => OldRelationTag
-
- fixtures :client_applications
- fixtures :gpx_files, :gps_points, :gpx_file_tags
- set_fixture_class :gpx_files => Trace
- set_fixture_class :gps_points => Tracepoint
- set_fixture_class :gpx_file_tags => Tracetag
-
fixtures :redactions
end