spec/vault_spec.rb in lastpass-1.6.1 vs spec/vault_spec.rb in lastpass-1.7.0
- old
+ new
@@ -27,8 +27,32 @@
it { expect(vault.accounts).to be_instance_of Array }
it "should have correct IDs" do
expect(vault.accounts.map &:id).to eq TEST_ACCOUNTS.map &:id
end
+
+ it "should have correct names" do
+ expect(vault.accounts.map &:name).to eq TEST_ACCOUNTS.map &:name
+ end
+
+ it "should have correct usernames" do
+ expect(vault.accounts.map &:username).to eq TEST_ACCOUNTS.map &:username
+ end
+
+ it "should have correct passwords" do
+ expect(vault.accounts.map &:password).to eq TEST_ACCOUNTS.map &:password
+ end
+
+ it "should have correct urls" do
+ expect(vault.accounts.map &:url).to eq TEST_ACCOUNTS.map &:url
+ end
+
+ it "should have correct notes" do
+ expect(vault.accounts.map &:notes).to eq TEST_ACCOUNTS.map &:notes
+ end
+
+ it "should have correct groups" do
+ expect(vault.accounts.map &:group).to eq TEST_ACCOUNTS.map &:group
+ end
end
end
end