Skip to content

Instantly share code, notes, and snippets.

View alexshapalov's full-sized avatar
🎯
Focusing

Alex Shapalov alexshapalov

🎯
Focusing
View GitHub Profile
RSpec.describe 'Authenticated admin can write meta tags', type: :feature, js: true do
let!(:user) { create :user, :admin, email: 'admin@new.com' }
let!(:city) { create :city, name: 'loddgy' }
let!(:property) { create :property }
describe 'Authenticated adnin' do
specify 'Admin Can create new post' do
visit '/home'
require "mathn"
class Matt
def initialize(a,b)
@a,@b = a,b
end
def matrixa(a)
@alexshapalov
alexshapalov / chain.rb
Created February 4, 2009 02:36 — forked from wycats/chain.rb
module TrackAddedMethods
def method_added(meth)
@__added_methods ||= []
@__added_methods << meth
end
def __added_methods
@__added_methods
end
end