Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Issue365 add jobs #366

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed formatting errors:
  • Loading branch information
leenyburger committed Jun 4, 2018
commit a1bcd87f57948636df323c3ec4e34e060d7ea9ea
6 changes: 2 additions & 4 deletions test/models/job_test.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
require 'test_helper'

class JobTest < ActiveSupport::TestCase

setup do
@job = create :job
end

test "should be valid" do
test 'should be valid' do
assert @job.valid?
end

test ".with_tags returns job with tag" do
test '.with_tags returns job with tag' do
@job.tag_list.add('front-end')
@job.save!
assert_equal Job.with_tags('front-end'), [@job]
end
end