Skip to content

Commit

Permalink
Added missed files
Browse files Browse the repository at this point in the history
  • Loading branch information
sergio1990 committed Apr 18, 2014
1 parent f5c2bff commit 2b6e927
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions spec/betfair_api_ng_rails/integration/list_competitions_spec.rb
@@ -0,0 +1,18 @@
require 'spec_helper'

module TestModule
extend BetfairApiNgRails::Api::RequestMethods
end

describe "listCompetitions request method" do

it_behaves_like 'simple list filtering request' do

let(:method_name) { "list_competitions" }
let(:result_class) { BetfairApiNgRails::CompetitionResult }
let(:result_hash) { "{\"result\": [{\"marketCount\": 1, \"competition\": { \"id\": 1, \"name\": \"World Cup 2014\" }, \"competitionRegion\": \"BR\"}]}" }

end

end

0 comments on commit 2b6e927

Please sign in to comment.