turingstudio-basecamp-rb 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module Basecamp #:nodoc:
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -4,9 +4,15 @@ describe Basecamp::TimeEntry do
4
4
  before(:all) do
5
5
  establish_connection
6
6
  @todo = create_todo_list_for_project_with_todo(TEST_PROJECT_ID)
7
+ @list = @todo.todo_list
7
8
  @entry = create_time_entries_for_project_and_todo_item(TEST_PROJECT_ID, @todo.id)
8
9
  end
9
-
10
+
11
+ after(:all) do
12
+ Basecamp::TodoList.delete(@list.id)
13
+ delete_time_entries_for_project(TEST_PROJECT_ID)
14
+ end
15
+
10
16
  it "should return all time entries" do
11
17
  entries = Basecamp::TimeEntry.report
12
18
  entries.should_not be_blank
data/spec/spec_helper.rb CHANGED
@@ -8,15 +8,15 @@ end
8
8
 
9
9
  require File.dirname(__FILE__) + '/../lib/basecamp'
10
10
 
11
- SITE_URL = ''
12
- LOGIN = ''
13
- PASSWORD = ''
14
- USE_SSL = true
11
+ SITE_URL = 'bletchley.basecamphq.com'
12
+ LOGIN = 'test'
13
+ PASSWORD = 'test'
14
+ USE_SSL = true
15
15
 
16
- TEST_PROJECT_ID =
17
- TEST_MESSAGE_ID = # TEST_MESSAGE SHOULD BELONG TO TEST PROJECT!!!
18
- TEST_COMPANY_ID =
19
- TEST_PERSON_ID =
16
+ TEST_PROJECT_ID = 2975113
17
+ TEST_MESSAGE_ID = 20289953 # TEST_MESSAGE SHOULD BELONG TO TEST PROJECT!!!
18
+ TEST_COMPANY_ID = 0000000
19
+ TEST_PERSON_ID = 3509479
20
20
 
21
21
  def establish_connection
22
22
  Basecamp::Base.establish_connection!(SITE_URL, LOGIN, PASSWORD, USE_SSL)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turingstudio-basecamp-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Turing Studio, Inc.
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-04 00:00:00 -08:00
12
+ date: 2009-03-05 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency