We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f0662 commit a8d3af7Copy full SHA for a8d3af7
spec/controllers/networks_controller_spec.rb
@@ -1,25 +1,3 @@
1
RSpec.describe NetworksController, type: :controller do
2
- let(:current_user) { Fabricate(:user, admin: true) }
3
-
4
- before { controller.send :sign_in, current_user }
5
6
- def valid_attributes
7
- {
8
- name: 'python'
9
- }
10
- end
11
12
- def valid_session
13
- {}
14
15
16
- describe 'Create network' do
17
- describe 'with valid attributes' do
18
- it 'creates a network and adds to tags' do
19
- expect do
20
- post :create, { network: valid_attributes}, valid_session
21
- end.to change(Tag, :count).by(1)
22
23
24
+ pending 'Add tests for join and leave'
25
end
0 commit comments