Added Models App, Installation Batch Installation

This commit is contained in:
Ernest Sankeshwar
2015-11-13 15:03:29 +00:00
parent cffea0c31d
commit 5a81168161
15 changed files with 147 additions and 1 deletions

11
spec/models/app.rb Normal file
View File

@@ -0,0 +1,11 @@
require 'rails_helper'
RSpec.describe App, type: :model do
pending "add some examples to (or delete) #{__FILE__}"
let!(:app) { create(:app) }
it { should validate_presence_of :name }
it { should validate_presence_of :package_name }
end