PoiseService::SpecHelper
This gem exists only to help with integration tests of poise-service
providers. It provides an RSpec shared example called 'a poise_service_test'
which verifies the correctness of poise_service_test
resource.
You can use this shared example by adding gem 'poise-service-spechelper'
to
the Gemfile in your serverspec/
folder. Then call it in your RSpec like:
describe 'dummy provider' do
it_should_behave_like 'a poise_service_test', 'dummy', 9000, false
end
Sponsors
Development sponsored by Bloomberg.
The Poise test server infrastructure is sponsored by Rackspace.
License
Copyright 2015, Noah Kantrowitz
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.