Permalink
Browse files

Adds pending specs #9

  • Loading branch information...
1 parent 4920794 commit fad19a1ff6531d82ffcc43259507d8990aca9a74 @stephenmckinney stephenmckinney committed Dec 19, 2012
@@ -1,11 +1,5 @@
module Pomo
- class Task
- def github?
- false
- end
- end
-
class GithubTask < Task
##
View
@@ -60,6 +60,13 @@ def complete?
end
##
+ # Check if the task is a github issue.
+
+ def github?
+ false
+ end
+
+ ##
# Start timing the task.
def start(config, options = {})
list = options[:list]
@@ -0,0 +1,9 @@
+require 'spec_helper'
+
+describe Pomo::Configuration do
+
+ describe '#initialize' do
+ it 'does nada'
+ end
+
+end
@@ -0,0 +1,13 @@
+require 'spec_helper'
+
+describe Pomo::GithubTask do
+
+ let(:github_task) { Pomo::GithubTask.new 'foo' }
+
+ describe '#github?' do
+ it 'returns true' do
+ expect(github_task.github?).to be_true
+ end
+ end
+
+end
@@ -0,0 +1,12 @@
+require 'spec_helper'
+
+describe Pomo::List do
+
+ describe '#initialize' do
+ it 'does nada'
+ end
+
+ describe '#find' do
+ it 'does nada'
+ end
+end
@@ -0,0 +1,17 @@
+require 'spec_helper'
+
+describe Pomo::Task do
+
+ let(:task) { Pomo::Task.new 'foo' }
+
+ describe '#start' do
+ it 'does nada'
+ end
+
+ describe '#github?' do
+ it 'returns false' do
+ expect(task.github?).to be_false
+ end
+ end
+
+end
View
@@ -1,8 +0,0 @@
-
-require File.dirname(__FILE__) + '/spec_helper'
-
-describe Pomo do
- it "should description" do
-
- end
-end

0 comments on commit fad19a1

Please sign in to comment.