mumuki-laboratory 9.1.2 → 9.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mumuki/laboratory/version.rb +1 -1
- data/spec/helpers/with_navigation_spec.rb +15 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cfa3dbfafd371b02d03a8979a9ea41c186408ee7c79dfe618d9b438507fb5c1
|
|
4
|
+
data.tar.gz: b528d6fccb7108f1923635b460baf08a9e808e39ebcc1b508e46e50046ddc12c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5ab2dbd1fe513278283752cd8967b9bbe1baba85ec2bf6f1dcb1d00eda37e39082d4b0c680772c890e006f0dd020aa402cc7449c8d30cc2b5fd7f5274b399ed
|
|
7
|
+
data.tar.gz: 720c042427be1fc6dfe2b5875f6c0d424884a47e749e9333c5ad1d2507532a67eb92b75c44125f00905a02ba15f275459834da890dcdeddc32d21e6b28cf7547
|
|
@@ -116,5 +116,20 @@ describe WithStudentPathNavigation, organization_workspace: :test do
|
|
|
116
116
|
|
|
117
117
|
it { expect(next_button(lesson_1)).to include "<a class=\"btn btn-complementary w-100\" role=\"button\" href=\"/chapters/#{chapter_2.friendly_name}\"><span class=\"fa5-text-r\">Next: #{chapter_2.name}</span><i class=\"fas fa-chevron-right\"></i></a>" }
|
|
118
118
|
end
|
|
119
|
+
|
|
120
|
+
context "when finishing an exam" do
|
|
121
|
+
let!(:organization) { create :organization, exams: [exam] }
|
|
122
|
+
|
|
123
|
+
let(:exam) { create(:exam, exercises: [ exercise ]) }
|
|
124
|
+
let(:exercise) { create(:exercise) }
|
|
125
|
+
|
|
126
|
+
before do
|
|
127
|
+
organization.switch!
|
|
128
|
+
exercise.submit_solution!(current_user).passed!
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
it { expect { next_button(exercise) }.to_not raise_error }
|
|
132
|
+
it { expect(next_button(exercise)).to be_nil }
|
|
133
|
+
end
|
|
119
134
|
end
|
|
120
135
|
end
|
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: 9.1.
|
|
4
|
+
version: 9.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Franco Bulgarelli
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-05-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 9.1.
|
|
33
|
+
version: 9.1.2
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 9.1.
|
|
40
|
+
version: 9.1.2
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: mumukit-bridge
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|