Permalink
Browse files

fixing the build

  • Loading branch information...
1 parent 46f13b3 commit 1a8844d5db8e7a7709a4140a435c8b60f1efdab7 @croaky croaky committed Feb 3, 2011
@@ -16,7 +16,6 @@ Feature: Visitor views startups
| name | description | url |
| GroupMe | Group chat | http://groupme.com |
| Heroku | Deploy | http://heroku.com |
- And I should see "Contact Jason if your company would like to attend."
@akephalos @mobile
Scenario: Visitor views talks on mobile phone
@@ -8,6 +8,6 @@
end
it "is blank when screenname is blank" do
- twitter_avatar("", 73).should == '<div class="avatar"></div>'
+ twitter_avatar("", 73).should == '<div class="avatar default"></div>'
end
end
@@ -58,24 +58,24 @@
describe Registration, ".developers" do
before do
- @nick = Factory(:registration, :role => "Developer", :created_at => 2.weeks.ago)
- @dan = Factory(:registration, :role => "Developer")
+ @nick = Factory(:registration, :role => "Developer", :name => "Nick")
+ @dan = Factory(:registration, :role => "Developer", :name => "Dan")
@phil = Factory(:registration, :role => "Designer")
end
- it "finds only developers by most recent" do
+ it "finds only developers alphabetically" do
Registration.developers.should == [@dan, @nick]
end
end
describe Registration, ".designers" do
before do
- @mazz = Factory(:registration, :role => "Designer", :created_at => 2.weeks.ago)
- @phil = Factory(:registration, :role => "Designer")
+ @phil = Factory(:registration, :role => "Designer", :name => "Phil")
+ @mazz = Factory(:registration, :role => "Designer", :name => "Mazz")
@dan = Factory(:registration, :role => "Developer")
end
- it "finds only designers by most recent" do
- Registration.designers.should == [@phil, @mazz]
+ it "finds only designers alphabetically" do
+ Registration.designers.should == [@mazz, @phil]
end
end

0 comments on commit 1a8844d

Please sign in to comment.