Skip to content

Instantly share code, notes, and snippets.

View smaboshe's full-sized avatar

Silumesii Maboshe smaboshe

View GitHub Profile
@smaboshe
smaboshe / DCP wishlist
Created June 13, 2011 13:05
My Digital Continent Podcast wish-list
A semi-static list of "handles" I'd like to hear on the Digital Continent podcast.
@simunza
@thebestofzambia
@YostKalasa
@smaboshe
smaboshe / index.html.erb
Created August 18, 2011 06:44
Dummy link for capybara to match
<h1><%= yield :title %></h1>
<div class="plans">
<%= link_to "Bronze", root_url, :id => "bronze" %>
</div><!-- /.plans -->
@smaboshe
smaboshe / index.html.erb
Created August 18, 2011 06:54
Capybara should match the links inside the @plans rendered
<h1><%= yield :title %></h1>
<div class="plans">
<%= render @plans %>
</div><!-- /.plans -->
@smaboshe
smaboshe / _plan.html.erb
Created August 18, 2011 06:56
Capybara should match the link in here
<%= link_to plan.name, root_url, :id => plan.name.downcase %>
@smaboshe
smaboshe / plan_selections_spec.rb
Created August 18, 2011 06:59
Plan selection test spec
require 'spec_helper'
describe "Plan selection" do
it "selects the Bronze plan" do
visit plans_path
click_link "bronze"
end
end
@smaboshe
smaboshe / index.html.erb
Created August 18, 2011 07:18
Capybara should match a link inside the each block
<h1><%= yield :title %></h1>
<div class="plans">
<% @plans.each do |plan| %>
<%= link_to plan.name, root_url, :id => plan.name.downcase %>
<% end %>
</div><!-- /.plans -->
@smaboshe
smaboshe / gist:1250704
Created September 29, 2011 13:12
A list of online music sites
http://bandcamp.com
@smaboshe
smaboshe / gist:1250721
Created September 29, 2011 13:29
A list of event sites
http://eventful.com/
http://upcoming.yahoo.com/