This file contains hidden or 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
| 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' |
This file contains hidden or 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 "mathn" | |
| class Matt | |
| def initialize(a,b) | |
| @a,@b = a,b | |
| end | |
| def matrixa(a) |
This file contains hidden or 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 TrackAddedMethods | |
| def method_added(meth) | |
| @__added_methods ||= [] | |
| @__added_methods << meth | |
| end | |
| def __added_methods | |
| @__added_methods | |
| end | |
| end |
NewerOlder