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:
parent
bb5dfe8082
commit
387bff1065
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue