* 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
17 lines
430 B
Ruby
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
|