Feature: Send and get messages
Scenario: An authenticated user wants to send a message in a channel
Given wirc is running on localhost
Given the user has an account
Given the user is in a hub
Given the user has access to a text channel
When the user sends a message in a channel in a hub
Then the user should receive an ID
Scenario: An authenticated user wants to get the last messages sent in a channel
Given wirc is running on localhost
Given the user has an account
Given the user is in a hub
Given the user has access to a text channel
Given 3 messages have been sent in the channel
When the user tries to get the last 2 messages
Then the user should see 2 messages