summaryrefslogtreecommitdiff
path: root/spec/unit/controllers/timesheet.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/controllers/timesheet.rb')
-rw-r--r--spec/unit/controllers/timesheet.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/unit/controllers/timesheet.rb b/spec/unit/controllers/timesheet.rb
deleted file mode 100644
index 247e59d..0000000
--- a/spec/unit/controllers/timesheet.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-describe TimesheetController do
- before do
- @repository = fake
- @sut = TimesheetController.new(@repository)
- end
- describe "when loading all timesheets" do
- it "should return all the timesheets" do
- @results[0].must_equal(@timesheet)
- end
- before do
- timesheets = []
- @timesheet = fake
- timesheets << @timesheet
- @repository.stub(:find_all).with(Timesheet).and_return(timesheets)
- @results = @sut.index
- end
- end
-end