spec/pipio/chat_spec.rb in pipio-0.0.1 vs spec/pipio/chat_spec.rb in pipio-0.0.2
- old
+ new
@@ -35,15 +35,15 @@
expect(chat.my_screen_name).to eq('me')
end
end
- describe '#start_time_xmlschema' do
- it 'is the start time of the chat in xmlschema format' do
+ describe '#start_time' do
+ it 'is the start time of the chat' do
time = Time.now
chat = Pipio::Chat.new([], metadata(start_time: time))
- expect(chat.start_time_xmlschema).to eq(time.xmlschema)
+ expect(chat.start_time).to eq(time)
end
end
describe '#service' do
it 'is the chat service' do