mumuki-laboratory 7.0.6 → 7.0.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69207ad70e5d6e96f3f36da9e04ada515f806729a7193d47993f640a39fe904e
|
4
|
+
data.tar.gz: 5f076089f5d8f22a7ae700ebf23d61c9b61582e143fcd792ab87fb6b5214669a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b3d0ba23c638529c35f5c19c5856d080169aaa405d5069319a902e3f3c69616543e8174144663f3f0f413ea760c880ef475781f0c3edc96dd8c1377785cbfa0
|
7
|
+
data.tar.gz: b2ad677613ac3047df2246b575a09e7962398a362981e8357527b812da2184d3c6b3aade82813078011b34f4fce3932e24a91849b1bf571f4c57ba576d7584fb
|
@@ -10,9 +10,6 @@
|
|
10
10
|
<li role="presentation" class="active">
|
11
11
|
<a data-target="#info" aria-controls="info" role="tab" data-toggle="tab"><%= t :profile %></a>
|
12
12
|
</li>
|
13
|
-
<li role="presentation">
|
14
|
-
<a data-target="#organizations" aria-controls="organizations" role="tab" data-toggle="tab"><%= t :organizations %></a>
|
15
|
-
</li>
|
16
13
|
<li role="presentation">
|
17
14
|
<a data-target="#messages" aria-controls="messages" role="tab" data-toggle="tab"><%= t :messages %></a>
|
18
15
|
</li>
|
@@ -27,13 +24,6 @@
|
|
27
24
|
<div role="tabpanel" class="tab-pane active" id="info">
|
28
25
|
<%= render partial: 'user_form' %>
|
29
26
|
</div>
|
30
|
-
<div role="tabpanel" class="tab-pane" id="organizations">
|
31
|
-
<div class="row mu-tab-body">
|
32
|
-
<div class="col-md-12">
|
33
|
-
<%= render partial: 'layouts/organizations_listing' %>
|
34
|
-
</div>
|
35
|
-
</div>
|
36
|
-
</div>
|
37
27
|
<div role="tabpanel" class="tab-pane" id="messages">
|
38
28
|
<% if @messages.empty? %>
|
39
29
|
<div class="row mu-tab-body col-md-12">
|
@@ -71,12 +71,7 @@ feature 'Profile Flow', organization_workspace: :test do
|
|
71
71
|
context 'logged in user' do
|
72
72
|
before { set_current_user! user }
|
73
73
|
|
74
|
-
context 'with no
|
75
|
-
scenario 'visit organizations tab' do
|
76
|
-
visit "/user#organizations"
|
77
|
-
|
78
|
-
expect(page).to have_text('It seems you aren\'t in any organizations yet!')
|
79
|
-
end
|
74
|
+
context 'with no messages' do
|
80
75
|
|
81
76
|
scenario 'visit messages tab' do
|
82
77
|
visit "/user#messages"
|
@@ -85,19 +80,7 @@ feature 'Profile Flow', organization_workspace: :test do
|
|
85
80
|
end
|
86
81
|
end
|
87
82
|
|
88
|
-
context 'with
|
89
|
-
before { allow_any_instance_of(Mumukit::Platform::Application::Organic).to receive(:organization_mapping).and_return(Mumukit::Platform::OrganizationMapping::Path) }
|
90
|
-
|
91
|
-
scenario 'visit organizations tab' do
|
92
|
-
user.make_student_of! organization.slug
|
93
|
-
user.save!
|
94
|
-
visit "/user#organizations"
|
95
|
-
|
96
|
-
expect(page).to_not have_text('It seems you aren\'t in any organizations yet!')
|
97
|
-
expect(page).to have_text('Go to test-organization')
|
98
|
-
expect(page).to have_link(nil, href: 'http://localmumuki.io/test-organization/')
|
99
|
-
end
|
100
|
-
|
83
|
+
context 'with messages' do
|
101
84
|
scenario 'visit messages tab' do
|
102
85
|
Organization.find_by_name('test').switch!
|
103
86
|
problem.submit_solution! user, {content: 'something'}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-laboratory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.21.
|
89
|
+
version: 1.21.3
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.21.
|
96
|
+
version: 1.21.3
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: muvment
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|