mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +02:00
Improve Epp Session tests
This commit is contained in:
parent
e9f23ba348
commit
5405632862
2 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,7 @@ require "rails_helper"
|
|||
describe EppSession do
|
||||
let(:epp_session) { Fabricate(:epp_session) }
|
||||
|
||||
it 'has encrypted data' do
|
||||
it 'has marshalled data' do
|
||||
expect(epp_session.read_attribute(:data)).to_not be_blank
|
||||
expect(epp_session.read_attribute(:data).class).to eq(String)
|
||||
expect(epp_session.data.class).to eq(Hash)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue