Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec controller #12

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open

Spec controller #12

wants to merge 22 commits into from

Conversation

mhtremblay
Copy link

Add few test for front-end jobs_controller and and front-end job_applications_controller

@TeatroIO
Copy link

I've prepared a stage to preview changes. Open stage or view logs.


FactoryGirl.define do
sequence :published_at do |n|
DateTime.now - n.days

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use DateTime.now without zone. Use one of Time.zone.now, DateTime.now.current, DateTime.now.in_time_zone, DateTime.now.utc, DateTime.now.getlocal, DateTime.now.iso8601, DateTime.now.jisx0301, DateTime.now.rfc3339, DateTime.now.to_i, DateTime.now.to_f instead.

context "#index" do
it "renders index template" do
#get :index
#expect(response).to render_template("index")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after #.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants