debian-mirror-gitlab/spec/requests/ide_controller_spec.rb
2021-02-22 17:27:13 +05:30

17 lines
308 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe IdeController do
let(:user) { create(:user) }
before do
sign_in(user)
end
it 'increases the views counter' do
expect(Gitlab::UsageDataCounters::WebIdeCounter).to receive(:increment_views_count)
get ide_url
end
end