Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code gets terminated in def register(example_group) method. #91

Open
nikhilbranchmedialabs opened this issue Apr 5, 2016 · 0 comments

Comments

@nikhilbranchmedialabs
Copy link

Hi I am new to Airborne. Trying one basic script where the code get terminated in "describe 'spec' do" line in def register(example_group)

Tool used: Eclipse with Ruby plugin with Aiborne Libraries added.

require 'airborne'
begin
describe 'spec' do
it 'should validate types' do
get 'http://host.url.com/api/example.json' #json api that returns { "name" : "John Doe" }
expect_json_types(name: :string)
end
end
rescue Exception => e
puts e.message
puts e.backtrace.inspec
end

Kindly let me know if I am doing it wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant