brief 1.8.5 → 1.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/apps/blueprint/models/outline.rb +7 -0
- data/lib/brief/briefcase.rb +3 -1
- data/lib/brief/version.rb +1 -1
- data/spec/lib/brief/briefcase_spec.rb +10 -1
- data/spec/lib/brief/repository_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 142e8f462cc9f7d9a8a504788cff6a7b7562f2d8
|
4
|
+
data.tar.gz: 54f32f83c554275697f798a377498f6eb75ae9a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdad0e4836b46a6e474cff0732f90a467013315f18f75377dbb4880fdc28896ead148c1ab6942fbff4678c330496c877d1378b933ce9dd93951b0d40039c3250
|
7
|
+
data.tar.gz: 34506086a0dad0d5d91484da8af8922e726322e5c7f3a023f79d7833ac85310c70cc7df12df7cd00b5e7d8a51549e1ac52c00e18cc6996528044ba4655481b35
|
data/Gemfile.lock
CHANGED
data/lib/brief/briefcase.rb
CHANGED
data/lib/brief/version.rb
CHANGED
@@ -15,6 +15,15 @@ describe "The Briefcase" do
|
|
15
15
|
expect(briefcase.slug).to eq("example")
|
16
16
|
end
|
17
17
|
|
18
|
+
it "has settings" do
|
19
|
+
expect(briefcase.settings).not_to be_empty
|
20
|
+
end
|
21
|
+
|
22
|
+
it "has a table of contents" do
|
23
|
+
expect(briefcase.table_of_contents).to be_present
|
24
|
+
expect(briefcase.table_of_contents.headings).not_to be_empty
|
25
|
+
end
|
26
|
+
|
18
27
|
it "points to a file repository" do
|
19
28
|
expect(briefcase.repository).to be_a(Brief::Repository)
|
20
29
|
end
|
@@ -46,7 +55,7 @@ describe "The Briefcase" do
|
|
46
55
|
context "Document Mappings" do
|
47
56
|
it "has all of the documents" do
|
48
57
|
expect(briefcase.epics.length).to eq(1)
|
49
|
-
expect(briefcase.documents.length).to eq(
|
58
|
+
expect(briefcase.documents.length).to eq(9)
|
50
59
|
end
|
51
60
|
end
|
52
61
|
end
|
@@ -47,7 +47,7 @@ describe "The Brief Document Repository" do
|
|
47
47
|
|
48
48
|
it "supports different operators" do
|
49
49
|
query = repository.where(:type.neq => "epic")
|
50
|
-
expect(query.length).to eq(
|
50
|
+
expect(query.length).to eq(8)
|
51
51
|
end
|
52
52
|
|
53
53
|
it "limits the results to the specified size" do
|