visit("/projects")
visit(post_comments_path(post))
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ActionController | |
class Base | |
def self.protect_from_forgery; end | |
def self.before_filter(args); end | |
def self.layout(args); end | |
end | |
end | |
RSpec.configure do |config| | |
config.mock_with :rr |
This guide enables you to install (ruby-build) and use (rbenv) multiple versions of ruby, isolate project gems (gemsets and/or bundler), and automatically use appropriate combinations of rubies and gems.
# Ensure system is in ship-shape.
aptitude install git zsh libssl-dev zlib1g-dev libreadline-dev libyaml-dev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe "home" do | |
before do | |
@domain = "myshop.myshopify.com" | |
@token = SecureRandom.hex(16) | |
@shopify_session = ShopifyAPI::Session.new(@domain, @token) | |
end | |