spec/inflector_spec.rb in active_git-0.0.6 vs spec/inflector_spec.rb in active_git-0.0.7

- old
+ new

@@ -33,10 +33,10 @@ it 'Model from filename' do ActiveGit::Inflector.model("#{working_path}/countries/1.json", working_path).should be Country end - it 'Model from filename' do + it 'Nested model from filename' do ActiveGit::Inflector.model("#{working_path}/crm/customers/1.json", working_path).should be Crm::Customer end it 'Model id' do ActiveGit::Inflector.model_id("#{working_path}/crm/customers/1.json").should eq '1' \ No newline at end of file