docbrown/spec/requests/ga_events_spec.rb
Ben Halpern 0941b2e4fb
Add some tests around model validations (#459)
* Modify sample_application.yml and write test

* Add ahrefs verification

* Add some tests around model validations

* Indent an end

* Add a few tests

* Add tests and reserved words

* Fix live articles spec typo

* Modify ga_events_controller
2018-06-20 17:14:08 -04:00

17 lines
430 B
Ruby

require "rails_helper"
vcr_option = {
cassette_name: "ga_event",
allow_playback_repeats: "true",
}
RSpec.describe "GaEvents", type: :request, vcr: vcr_option do
describe "POST /fallback_activity_recorder" do
it "posts to fallback_activity_recorder" do
post "/fallback_activity_recorder", params: {
path: "/ben", user_language: "en"
}.to_json
expect(response.body).to eq("")
end
end
end