This repository has been archived by the owner on Aug 28, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gemfile Update for devel branch and test case init for models
- Loading branch information
Showing
27 changed files
with
110 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
require 'rails_helper' | ||
|
||
RSpec.describe Experience, type: :model do | ||
# pending "add some examples to (or delete) #{__FILE__}" | ||
|
||
it "is not valid without valid company" do | ||
company=Experience.new(company: nil) | ||
expect(company).to_not be_valid | ||
end | ||
|
||
it "is not valid without position" do | ||
position=Experience.new(position: nil) | ||
expect(position).to_not be_valid | ||
end | ||
|
||
it "is not valid without jobdescription" do | ||
jobdate=Experience.new(jobdetail: nil) | ||
expect(jobdate).to_not be_valid | ||
end | ||
|
||
it "is not valid without job start date" do | ||
startdate=Experience.new(startdate: nil) | ||
expect(startdate).to_not be_valid | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.