firstdraft / appdev_template

A Rails template for generating homework projects
0 stars 1 forks source link

Add a dummy spec to new projects #41

Closed raghubetina closed 5 years ago

raghubetina commented 5 years ago

Add this to new projects:

# specs/features/dummy_spec.rb

require "rails_helper"

describe "This project" do
  it "is not graded" do
    expect(1).to eq(1)
  end
end

In order to prevent the error in grade_runner when there are no specs.

jelaniwoods commented 5 years ago

@raghubetina I assume this does not include the final project?

raghubetina commented 5 years ago

@jelaniwoods Maybe change the copy —

describe "Your project" do
  it "is up to you to to write specs, if you want to!" do
    expect(1).to eq(1)
  end
end
jelaniwoods commented 5 years ago

@raghubetina Okay, got it.