logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

home_helper_spec.rb (241B)


  1. require 'rails_helper'
  2. RSpec.describe HomeHelper, type: :helper do
  3. describe 'default_props' do
  4. it 'returns default properties according to the context' do
  5. expect(helper.default_props).to eq locale: I18n.locale
  6. end
  7. end
  8. end