amalgam 2.1.3.1 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -87,6 +87,10 @@ describe Amalgam::TemplateFinder::Rule do
87
87
  @page12 = @page6.children.new(:slug => 'slug13')
88
88
  end
89
89
 
90
+ it 'only accept templates' do
91
+ @rules.select{|rule| rule.list == ['test']}.present?().should eq(false)
92
+ end
93
+
90
94
  it "page with groups should has keys" do
91
95
  @page.test_groups.length.should eq(2)
92
96
  @page.template_keys.length.should eq(3)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amalgam
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3.1
4
+ version: 2.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-04 00:00:00.000000000 Z
12
+ date: 2013-02-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -497,6 +497,7 @@ files:
497
497
  - spec/app/views/test_pages/slug6/default.html.erb
498
498
  - spec/app/views/test_pages/slug7/&2.html.erb
499
499
  - spec/app/views/test_pages/slug7/slug12/&1.html.erb
500
+ - spec/app/views/test_pages/test.txt
500
501
  - spec/content_persistence_spec.rb
501
502
  - spec/dummy/app/assets/javascripts/application.js
502
503
  - spec/dummy/app/assets/stylesheets/application.css