account working

This commit is contained in:
Aung Myo
2017-06-02 19:16:14 +06:30
parent 92a82f6e7f
commit 01fefe3b79
30 changed files with 619 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
require 'rails_helper'
RSpec.describe "settings/accounts/show", type: :view do
before(:each) do
@settings_account = assign(:settings_account, Settings::Account.create!(
:title => "Title",
:account_type => "Account Type"
))
end
it "renders attributes in <p>" do
render
expect(rendered).to match(/Title/)
expect(rendered).to match(/Account Type/)
end
end