nucleus
nucleus copied to clipboard
Test are failing
Tests are failing for me (especially Heroku for now). It's pretty hard to debug this stuff ^^
describe 'create application', :mock_fs_on_replay, cassette_group: 'app;create' do
describe 'succeeds' do
describe 'of type nodejs with all properties', :as_cassette do
before do
application = {
application: {
name: @app_all[:original_name], runtimes: ['nodejs'],
region: @app_all[:region], autoscaled: false
}
}
application[:application][:vendor_specific] = @application_params if @application_params
post "/endpoints/#{@endpoint}/applications", application, request_headers
end
include_examples 'a valid POST request'
include_examples 'application entity schema'
include_examples 'application state: created'
end
@croeck Should the before block really be run before each of the included examples? How can this work? Shouldn't it return a name is already taken
error at the second call (as it always does for me)? I don't fully understand the control flow I think. Should it replay the interaction on the second call?