spec: Skip RCS tests and change port value for RCE API

The tests should be un-skipped as soon as we change which
port the RCE API is running on, which would be a commit in the
rspect repo.

test plan:
- Tests pass

Change-Id: I4778e2210dee0e1377c9d0826fbb8768c5bc0871
Reviewed-on: https://gerrit.instructure.com/195675
Reviewed-by: Cameron Matheson <cameron@instructure.com>
QA-Review: Cameron Matheson <cameron@instructure.com>
Tested-by: Jenkins
Product-Review: Tucker Mcknight <tmcknight@instructure.com>
This commit is contained in:
Tucker McKnight 2019-05-29 14:33:34 -06:00 committed by Tucker Mcknight
parent bb5dfe8082
commit 387bff1065
2 changed files with 5 additions and 2 deletions

View File

@ -25,7 +25,7 @@ module Factories
allow(Canvas::DynamicSettings).to receive(:find).with(any_args).and_call_original
allow(Canvas::DynamicSettings).to receive(:find).with("rich-content-service", default_ttl: 5.minutes).and_return(
ActiveSupport::HashWithIndifferentAccess.new({
"app-host":"http://localhost:3000",
"app-host":"http://localhost:3001",
})
)
allow(Canvas::DynamicSettings).to receive(:find).with("canvas").and_return(

View File

@ -371,7 +371,10 @@ RSpec.configure do |config|
end
end
config.before :each do
config.before :each do |example|
if example.file_path.match? /\.\/spec\/selenium\/.*rcs/
skip("Skipping RCS tests until config changes are merged in")
end
raise "all specs need to use transactions" unless using_transactions_properly?
reset_all_the_things!
end