Skip to content

Commit

Permalink
Update rest_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
lucashenning committed Oct 21, 2015
1 parent c4edb50 commit db81121
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/filters/rest_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@
let(:config) do <<-CONFIG
filter {
rest {
url => "http://icanhazip.com/"
url => "http://jsonplaceholder.typicode.com/users/1"
json => true
}
}
CONFIG
end

sample("message" => "some text") do
expect(subject).to include("rest_response")
expect(subject['rest_response']).to include("id")
end
end
end

0 comments on commit db81121

Please sign in to comment.